Skip to content

bug: drawer-end makes drawer-open not work #4331

@Freymaurer

Description

@Freymaurer

Reproduction URL (Required)

https://play.tailwindcss.com/eibedOfN6A

What version of daisyUI are you using?

^5.5.8

Which browsers are you seeing the problem on?

Chrome, All browsers

Describe your issue

I am not sure if this is expected behavior or a bug, at least i was unable to find any reference to it in the drawer documentation.

If you use drawer-end in the drawer docs example for "Sidebar is always visible on large screen" it is actually not always visible on the screen 😅 You can see this behavior in the tailwindplay link. If you remove the drawer-end class it will be visible again.

It seems like the issue is, that translate: 100% from drawer-end overwrites the translate-0 from drawer-open

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions