-
Notifications
You must be signed in to change notification settings - Fork 77
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
Unable to scroll constrained block content #5686
Comments
I believe this is doable w/o any further changes to block. Can you give this a try? https://codepen.io/jcfranco/pen/GRGrVeN |
Thank @jcfranco, that looks like a doable workaround, but I'm wondering if you think a simpler approach is feasible. The underlying issue stems from how flex box items have an implicit Not sure if this change introduces other layout issues, but it feels like it lends itself better to more intuitive mark-up and styling. |
**Related Issue:** #5686 ## Summary This applies @nwhittaker's [suggestion](#5686 (comment)) (belated thanks! 🎉) to make scrolling setup easier within blocks.
Installed and assigned for verification. |
Verified in |
Actual Behavior
If the height of a block's content exceeds the height of the block, it's not possible to constrain the content to
100%
of the block and scroll the overflow.Expected Behavior
If the height of a block's content exceeds the height of the block, it is possible to constrain the content to
100%
of the block and scroll the overflow.Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/BaxOQga
Reproduction Steps
Reproduction Version
beta.97
Relevant Info
Related to #5422.
Regression?
No response
Impact
Field Maps has a modal layout where a block is used to expand/collapse a preview area. The preview area has a somewhat fixed height (relative to the height of the viewport) but a variable amount of content, so it needs to be scrollable.
The current workaround is to use a custom layout and lose the expand/collapse behavior.
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: