Skip to content

Fix drawer backdrop classes#967

Open
MaximilianKos wants to merge 2 commits intothemesberg:mainfrom
MaximilianKos:fix-drawer-backdropClasses
Open

Fix drawer backdrop classes#967
MaximilianKos wants to merge 2 commits intothemesberg:mainfrom
MaximilianKos:fix-drawer-backdropClasses

Conversation

@MaximilianKos
Copy link
Copy Markdown

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.

@bhtabor
Copy link
Copy Markdown

bhtabor commented Nov 5, 2024

Would be awesome if this is merged.

@jbarber
Copy link
Copy Markdown

jbarber commented Jun 27, 2025

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

@jbarber
Copy link
Copy Markdown

jbarber commented Jun 27, 2025

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

Just found this PR for Modal #1001

@RContrerasTSTC
Copy link
Copy Markdown

Same issue!

@MaximilianKos
Copy link
Copy Markdown
Author

Hi @zoltanszogyenyi. Can this be considered for merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants