Transition component of Headless UI with stitches #643
nibtime
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
I have issues using the above, specifically with the Dialog component. Sometimes when closing, the elements will "leave" just fine, but retain pointer events, so the elements behind the Dialog cannot be interacted with. I've taken a look at the code and can't figure out why this is happening? I believe it has something to do with the modified Transition file. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've just migrated a NextJS project from twin + emotion to twin + stitches. This broke the Transition component of Headless UI. (https://github.com/ben-rogerson/twin.examples/blob/master/headlessui-typescript/src/components/Transition.tsx). Fortunately, it can be adapted quite easily, in case anybody runs into the same problem:
stitches.config.ts
components/Transition.tsx
Beta Was this translation helpful? Give feedback.
All reactions