-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Landscape] Fix popup content is not fully shown #88191
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
3fa7f24
d828d4c
f5452b7
992d4fa
73725df
5a890f3
b4ef429
e839029
2dd1957
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 |
|---|---|---|
|
|
@@ -191,6 +191,7 @@ function DropdownButton({ | |
| restoreFocusType={CONST.MODAL.RESTORE_FOCUS_TYPE.DELETE} | ||
| shouldEnableNewFocusManagement | ||
| shouldMeasureAnchorPositionFromTop={false} | ||
| shouldUseModalPaddingStyle={false} | ||
|
Contributor
Author
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. On a small screen, a bottom-docked modal will be used, and by default, it have a 16px vertical padding applied. That's why we had |
||
| outerStyle={{...StyleUtils.getOuterModalStyle(windowHeight, viewportOffsetTop), ...containerStyles}} | ||
| // This must be false because we dont want the modal to close if we open the RHP for selections | ||
| // such as date years | ||
|
|
||
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.
Unnecessary bottom padding:
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.
Fixed