Esri/calcite-app-components

Enhancement: shell-center-row. Attempt to use max-height

asangma opened this issue · 2 comments

Description

Currently CalciteShellCenterRow defines a height in percentage based on its heightScale property. This allows panels and flow-items to retain proper scrolling behavior.

It would be good for this component to use max-height in the same way that detached panels do.

Acceptance Criteria

Make height more responsive to less content, e.g. if heightScale is set to l but the content is short.

After further exploration, doing this could cause a perceived bug.
If the component is heightScale="s" and the content is shorter than a max-height and the app has a toggle to make heightScale="m", the component will appear to not change when that toggle is hit, and it would likely be perceived as a bug.

Moving to Backlog in case this comes up again.

Rather than keep it in the backlog, I'm gonna close this one.