-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: incorrect page is displayed when refreshing the page #54680
Changes from 11 commits
025c78b
c98a3a5
7a83b03
13d0c65
d70595e
4ed9e5a
ca4b1e7
728ac39
e49143e
f429543
15c3b56
669eb15
c986d69
f44a299
c0ad5d2
45c2e9e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ function ValidateCodeActionModal({ | |
hasMagicCodeBeenSent, | ||
isLoading, | ||
shouldHandleNavigationBack, | ||
disableAnimation, | ||
threeDotsMenuItems = [], | ||
onThreeDotsButtonPress = () => {}, | ||
}: ValidateCodeActionModalProps) { | ||
|
@@ -70,6 +71,8 @@ function ValidateCodeActionModal({ | |
hideModalContentWhileAnimating | ||
useNativeDriver | ||
shouldUseModalPaddingStyle={false} | ||
// If `disableAnimation` is true, set `animationInTiming` to 1 to disable the animation effect | ||
animationInTiming={disableAnimation ? 1 : undefined} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let me rephrase 😅 , I meant that we need explanation for this change and not what this expression does There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe the comment 'set animationInTiming to 1 to disable the animation effect' already clarifies the change. Do you have any suggestions for it? Just so you know, the line There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
It's not about the change but more of the functionality, In the checklist we have:
There should had been a comment explaning it, i will raise this one internally but in the meantime please explain There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you suggesting that we add a comment explaining why this change fixes the issue? If so, I think it would be better to add the comment to this line: The comment could be: About the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. works for me! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I updated it |
||
> | ||
<ScreenWrapper | ||
includeSafeAreaPaddingBottom | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@truph01 can you please put a comment here explaining why this is needed ? the git blame will not explain to others why we needed this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just added comment