HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

Draggable and resizable modals #647

Closed corykon closed 3 years ago

corykon commented 5 years ago

Describe the problem this feature request is solving We use modals in our app that are draggable and resizable. Probably won't be able to switch to cashmere modals until this functionality is added, or there's a way to plugin this type of functionality.

Describe the solution you'd like New parameters, isDraggable to make the modal draggable by its title bar, and isResizable to make it resizable from the bottom right corner.

Describe alternatives you've considered Find this a way to plugin this functionality on my own without forcing this functionality in Cashmere... but seems like lots of apps could benefit from this work.

If any, which components will have to change, and how Modal component. No breaking changes, just new functionality.

Additional context Screenshot from our app, draggable by title, resizable by bottom right corner. image

corykon commented 4 years ago

This may be a prime candidate for a bit component- I've been using a 3rd party library for resize/move functionality in popbuilder

benjanderson commented 3 years ago

:tada: This issue has been resolved in version 11.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: