Skip to content
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

♻️🚸Dialog: refactor to use native dialog #2950

Merged
merged 7 commits into from
Jul 7, 2023

Conversation

oddvernes
Copy link
Collaborator

@oddvernes oddvernes commented Jul 6, 2023

resolves #2949

removes Scrim and floating-ui as dependencies and instead uses a native <dialog> element in modal mode (uses DialogElement.showModal())
I kept the functionality the same as the old Dialog to not introduce breaking changes (which means i did block pressing escape to close unless isDismissable is true, maybe something to discuss

@oddvernes
Copy link
Collaborator Author

Note to self: check dialog inside dialog case and hidebodyscroll

@oddvernes oddvernes merged commit 4d70773 into develop Jul 7, 2023
3 checks passed
@oddvernes oddvernes deleted the OOVE/native-dialog-test branch July 7, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

♻️🚸Dialog: rewrite to use native dialog
1 participant