Skip to content
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

Bug CSS : Select dans une Modale #660

Closed
raphodn opened this issue Nov 27, 2022 · 1 comment · Fixed by #689
Closed

Bug CSS : Select dans une Modale #660

raphodn opened this issue Nov 27, 2022 · 1 comment · Fixed by #689

Comments

@raphodn
Copy link
Member

raphodn commented Nov 27, 2022

Quoi ?

Le rendu n'est pas joli lorsqu'on souhaite afficher les choix d'un select dans une modale

Pour reproduire : Admin > Gérer les créneaux > afficher la modale d'un créneau (bucket) > cliquer sur le select en bas dans le formulaire d'ajout d'un poste

Détails

Ca a l'air d'être un bug materialize : materializecss/materialize#35

Captures d'écran

Screenshot from 2022-11-27 10-42-48 Screenshot from 2022-11-27 10-42-55
@raphodn
Copy link
Member Author

raphodn commented Nov 27, 2022

Modif dans public/js/app.js : ne marche pas

$('select').formSelect({
        dropdownOptions: { container: document.body }
    });

Modif dans admin/booking/index.html.twig : fonctionne, mais quelques petits effets secondaires..

<div id="modal-bucket-content" class="modal-content" style="overflow-y: visible;"></div>

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 a pull request may close this issue.

1 participant