flowbite
flowbite copied to clipboard
Fix drawer backdrop classes
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.
Would be awesome if this is merged.
I hit the same problem with Modal, and presume the fix is the same.
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
Same issue!
Hi @zoltanszogyenyi. Can this be considered for merging?