Open dpbayer opened 1 month ago
Ideally this could be accomplished with the existing css variables (https://developers.arcgis.com/calcite-design-system/components/shell-panel/#styles) - are there cases where those aren’t working?
I do think a “resize start / stop” event set would be useful for implementers to, if desired, persist a user’s changes in some way, at the app level.
@macandcheese The css variables allow you to control the initial height. However, when the panel is resizable, then after the user interacts with the panel, the size is set from internal calculations.
This means that if (as in the sample), the app wants to set it full size, or shrink it after it has been resized by the user, this is not possible as the height is controlled via the internal variable.
Check existing issues
Description
Calcite shell panels support the resizable property. It would be helpful to be able to programmatically set the height and width of the resizable panel so that the panel can be initialised with a set height or width, and so that it can support actions to maximise the size of the panel, or shrink it to a default size.
The suggestion could also be used to allow developers to implement https://github.com/Esri/calcite-design-system/issues/8210
Acceptance Criteria
Relevant Info
No response
Which Component