You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to pass some tailwind classes into the modal as part of the event dispatch, so that individual modal event calls could be customised.
Use-case
I am opening a modal which has a dropdown inside it, with the existing overflow-hidden class on the modal.blade.php the dropdown select element flows out of the modal and that overflow is hidden making the dropdown unusable.
Solution options
A potential solution might be to pass the classes as an argument?
Summary
It would be great to be able to pass some tailwind classes into the modal as part of the event dispatch, so that individual modal event calls could be customised.
Use-case
I am opening a modal which has a dropdown inside it, with the existing
overflow-hidden
class on themodal.blade.php
the dropdown select element flows out of the modal and that overflow is hidden making the dropdown unusable.Solution options
A potential solution might be to pass the classes as an argument?
wire:click="$dispatch( 'openModal', { component: 'webhooks.get-webhook-secret', arguments: { webhook: {{ $hook->id }}, cssClass: 'overflow-visible' } } )"
Or, some way to pass the template file to use into the component, so users can overwrite the template in their local project?
Sidestep
The text was updated successfully, but these errors were encountered: