-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bug: drawer-end
cascades for nested drawers
#3249
Comments
Thank you @willtcarey
for reporting issues. It helps daisyUI a lot 💚
|
daisyui/src/components/unstyled/drawer.css Lines 36 to 55 in dfec9ea
It looks like it's this styling. I think it could be fixed by adding a direct descendant selector to the .drawer-toggle class & > .drawer-toggle { |
What version of daisyUI are you using?
v4.12.13
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
https://play.tailwindcss.com/C3gVcWnOy2?size=762x720
Describe your issue
When using nested drawers (one for the right and one for the left), if you try to put your
drawer-end
as the outside drawer, it cascades down and makes both of the drawers be a "right" drawer. You can see the behavior in the Tailwind Play up above. It's modified from an existing Tailwind Play that @saadeghi posted here #2278 (comment).That Play exhibits the correct behavior because the left drawer is the outside drawer and the right (
drawer-end
) drawer is the inside drawer.The text was updated successfully, but these errors were encountered: