-
Notifications
You must be signed in to change notification settings - Fork 34
Add modal with transition example #129
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
Add modal with transition example #129
Conversation
Hello all, I would be interested in any feedback on this draft PR, which adds an example of a Modal with Transitions. Implementing this has exposed a few, minor inconsistencies when compared with the headlessui.dev docs. For example:
On the last point, headlessui's docs offer this code example:
In this example, the In this PR the implementation had to be different, to get the transition to work:
Here, the How consistent do people feel this implementation should be, when compared to the docs over at headlessui? As we don't have any docs yet, I tend to start with the headlessui examples, and then look through tests in this repo, and put the pieces together. How are others working, and is it too early to think about some documentation? |
4bd52f1
to
3b9cea4
Compare
👋 thanks for this lovely contribution!! can you delete the package-lock.json? this repo uses |
@NullVoxPopuli done, thanks. On a related note, now the project is using pnpm I'm experiencing hanging when I run an |
ah! good catch -- we need to upgrade ember-cli for pnpm support. whoops. if you want to do that, that'd be a huge help! <3 |
This PR adds an example of a modal dialog, with nested transitions for the overlay, and modal containter.