Action Pad - support wrapping #11000
Labels
0 - new
New issues that need assignment.
ArcGIS Maps SDK for JavaScript
Issues logged by ArcGIS SDK for JavaScript team members.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Description
I would like to use calcite-action-pad with the confidence that it will remain usable on a variety of view sizes.
Consider the following example:
Screen.Recording.2024-12-05.at.6.46.01.PM.mov
A one-line "good enough" fix would be to set flex-wrap on the internal container.
Screen.Recording.2024-12-05.at.6.47.51.PM.mov
An even better approach might be to have an overflow menu.
I didn't show it in the video, but also making the action-group container wrap could be a potential further enhancement.
Acceptance Criteria
Some way to configure calcite-action-pad such that all actions remain usable when the available horizontal space is less than the natural width of the pad.
Relevant Info
Which Component
calcite-action-pad
Example Use Case
Imagine a hypothetical effort to re-implement the widget on this page to use built-in Calcite components:
https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/
Through use of custom layout, that widget is able to support responsive layout:
Screen.Recording.2024-12-05.at.6.54.29.PM.mov
Priority impact
impact - p2 - want for an upcoming milestone
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript
The text was updated successfully, but these errors were encountered: