Skip to content

fix(action-sheet): set 100% height to fix scrollable options - #16789

Merged
brandyscarney merged 2 commits into
masterfrom
fix-action-sheet-scrollable
Dec 17, 2018
Merged

brandyscarney merged 2 commits into
masterfrom
fix-action-sheet-scrollable

Conversation

@brandyscarney

Copy link
Copy Markdown
Member

Short description of what this resolves:

An action sheet with too many buttons is overflowing off the screen (at the top). Sets height and max-height to 100% on the wrapper.

http://localhost:3333/src/components/action-sheet/test/scrollable-options

master fix-action-sheet-scrollable
localhost_3333_src_components_action-sheet_test_scrollable-options iphone 6_7_8 1 localhost_3333_src_components_action-sheet_test_scrollable-options iphone 6_7_8

@brandyscarney

Copy link
Copy Markdown
Member Author

Note that this was missed by screenshot because there aren't enough options to overflow the scrollable test based on the screenshot dimensions. Updating the test to overflow for the screenshot.

screen shot 2018-12-17 at 4 58 35 pm

@brandyscarney
brandyscarney merged commit e3d7282 into master Dec 17, 2018
@brandyscarney
brandyscarney deleted the fix-action-sheet-scrollable branch December 17, 2018 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant