-
-
Notifications
You must be signed in to change notification settings - Fork 351
[Bug]: Bulk Action Menu - Dropdown menu width not set correctly in bootstrap 5 #2264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What did you replace it with to get it to work smoothly? |
just remove the w-100 class and it works normally |
Ok will look to add this change in, or feel free to open a pr against development |
just found the solution with $this->setBulkActionsMenuAttributes([
'class' => 'w-auto'
]); still need pr for this? |
or set default to w-auto instead of w-100 |
… select /bulk action component
I've opened PR #2270 but have yet to test it This just implements the two changes suggested for bulk actions menu, and column select |
Note PR is in development branch |
Uh oh!
There was an error while loading. Please reload this page.
What happened?
The class
w-100
causes the dropdown item text to overflow. If the class is removed, the text displays normally.Screen.Recording.2025-05-07.at.15.51.12.webm
How to reproduce the bug
No response
Package Version
3.7.3
PHP Version
8.3.x
Laravel Version
11
Alpine Version
3.14.8
Theme
Bootstrap 5.x
Notes
The dropdown menu should automatically adjust its width to fit the content without causing text overflow, even with w-100 applied.
Error Message
No response
The text was updated successfully, but these errors were encountered: