Skip to content

Interactive Modal #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Interactive Modal #194

wants to merge 4 commits into from

Conversation

krowvin
Copy link
Contributor

@krowvin krowvin commented May 30, 2025

@msweier was asking about making the modal interactive.

This PR adds the functionality to make it resizable and movable.

Thoughts on if we should make this opt in instead of always movable/resizable?

I also saw this library for making things draggable, not sure if we want to add another dependency if the below commits suffice?

https://github.com/react-grid-layout/react-draggable

image

image
May want to also provide opacity control for behind the modal?

Copy link

Please set a versioning label of either major-bump, minor-bump, or patch-bump to the pull request.

@willbreitkreutz
Copy link
Contributor

@krowvin How does this work on mobile?

I'd almost rather see a ModalResizable component.

@krowvin krowvin marked this pull request as draft July 7, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants