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.