Select to view content in your preferred language

Make calcite-dialog  swipeable

235
4
4 weeks ago
Status: Already Offered
ForrestLin
Frequent Contributor
4 Comments
KittyHurley
Status changed to: Already Offered

@ForrestLin Thanks for submitting! Calcite strives to support accessibility and more audiences, and swipe actions limit individuals by not supporting WCAG Success Criterion 2.1.1: Keyboard (Level A).

Instead it is recommended more users have the capability to perform functionality via a button or floating action button instead, such as https://codepen.io/geospatialem/pen/GRbaarb. The functionality is also currently provided with the component's close button.

ForrestLin

@KittyHurley 

What I need is "Swipeable Window/Dialog" (or "Bottom Sheet") like widget window/dialog in ArcGIS Experience Builder when open in mobile/phone devices.

https://experience.arcgis.com/experience/42818c03ae384edc91ab658faf2664e0

https://ui.gorhom.dev/components/bottom-sheet/modal

 

ForrestLin_0-1726512423921.png

ForrestLin_1-1726512455608.png

ForrestLin_2-1726512470573.png

 

Here has more detail:

https://community.esri.com/t5/calcite-design-system-ideas/make-calcite-dialog-responsive/idi-p/15380...

 

KittyHurley

With regards to the above's "Already offered" status, the ability to swipe a component is also "Under Consideration" for future implementations using Sheet, where when resizing is provided on the component and in a non-modal state, swiping could also be offered via https://github.com/Esri/calcite-design-system/issues/10364

ForrestLin

@KittyHurley 

Thank you!

Forrest