flowbite icon indicating copy to clipboard operation
flowbite copied to clipboard

Fix drawer backdrop classes

Open MaximilianKos opened this issue 1 year ago • 1 comments

I came across the problem that i couldnt add custom backdrop classes to my drawer.

I found out that the logic is not implemented in the code, which gets the users data attribute to set the custom classes.

This pull request adds the necessary logic to retrieve the data attribute and pass it to the Drawer. If no data attribute is found, it defaults to the Default.backdropClasses configuration.

This fix is related to #913.

MaximilianKos avatar Sep 23 '24 22:09 MaximilianKos

Would be awesome if this is merged.

bhtabor avatar Nov 05 '24 06:11 bhtabor

I hit the same problem with Modal, and presume the fix is the same.

jbarber avatar Jun 27 '25 16:06 jbarber

I hit the same problem with Modal, and presume the fix is the same.

Just found this PR for Modal https://github.com/themesberg/flowbite/pull/1001

jbarber avatar Jun 27 '25 22:06 jbarber

Same issue!

RContrerasTSTC avatar Jul 26 '25 08:07 RContrerasTSTC

Hi @zoltanszogyenyi. Can this be considered for merging?

MaximilianKos avatar Aug 12 '25 11:08 MaximilianKos