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

[feature] Modal components with <dialog> element #73

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

dc7290
Copy link
Member

@dc7290 dc7290 commented Jan 18, 2023

Summary

I have implemented a new attempt to use the dialog element for the modal component.
I believe that this is a happy alternative for both users and developers of the library, leaving concerns about modal functionality and A11Y to the browser's standard features.
This initiative will be published as a beta version under the future directory.

relation

#49

Demo

https://codesandbox.io/s/long-resonance-bks9lf?file=/src/App.tsx

@dc7290 dc7290 self-assigned this Jan 18, 2023
@dc7290 dc7290 requested a review from himorishige January 18, 2023 09:01
Copy link

@himorishige himorishige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good 👍

@dc7290 dc7290 merged commit a2eaa7b into master Jan 19, 2023
@dc7290 dc7290 deleted the feature/dialog-element branch January 19, 2023 01:44
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.

2 participants