Skip to content

Unable to scroll constrained block content #5686

@nwhittaker

Description

@nwhittaker

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

  1. Visit the code sample
  2. Try to scroll the first block and see it shows the current behavior where the user is unable to scroll the contents of the block.
  3. Try to scroll the second block and see it is patched to show the expected behavior of being able to scroll the contents of the block.

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

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS Field AppsIssues logged by ArcGIS Field Apps team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.estimate - 2Small fix or update, may require updates to tests.has workaroundIssues have a workaround available in the meantime.p - lowIssue is non core or affecting less that 10% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions