Replies: 1 comment
-
You are transitioning the overlay using opacity which is fine, however you already apply an - <Popover.Overlay className="fixed inset-0 bg-black opacity-30" />
+ <Popover.Overlay className="fixed inset-0 bg-black/30" /> Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This code snippet works unexpectedly.
leave="transition linear duration-1000"
doesn't make transition smooth, it delays disappearing of the backdrop but it's still rapid. So I believe somehow it setstransition-delay
property, not the neededtransition-duration
.@headlessui/react v1.7.12
tailwindcss v3.2.6
Chrome
Beta Was this translation helpful? Give feedback.
All reactions