- Issue created by @Christian DeLoach
- π³πΏNew Zealand jonathan_hunt
I have the same issue. The option was first introduced at https://www.drupal.org/project/bootstrap_barrio/issues/3037643 β but in 5.x all messages include
bootstrap_barrio:alert
=>alert.twig
that wraps messages in<div class="alert-wrapper"></div>
that is then referenced inalerts.scss
that has:.alert-wrapper { position: fixed; bottom: 0; left: 0;
A workaround is to apply
.alert-wrapper { position: unset !important; }
- π¨π¦Canada endless_wander
see https://www.drupal.org/project/bootstrap_barrio/issues/3496694 π Discrepancies between new alert.twig component and messages.js Active as well.
I think this is part of a larger issue where the template for alerts has deviated and there are now two versions -- one in new alert.twig component and one loaded via messages.js
- First commit to issue fork.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
I've added in a patch for the three message types.
- π¨π¦Canada endless_wander
I'm not seeing instances of alert-wrapper--bottom in alert.css as stated.
I do see the output of alert.twig and messages.js is standardized now.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
New patch with even better working alerts (both varieties) and toasts
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
Looks like π Allow the messages block to skip placeholdering Active was added to Drupal core 11.2.0-alpha1, so we should add that as the minimum drupal core version.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
trackleft2 β changed the visibility of the branch 3485305-tgboat to hidden.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
I've added a new merge request with a tugboat configuration so we can review this more easily.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
New toast styles to match alerts:
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
trackleft2 β changed the visibility of the branch 3485305-new-alert-component to hidden.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
I think we need to update the tabledrag.js to always include toasts.js when toasts is the theme setting.
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
New patch fixing z-index and toast colors
- πΊπΈUnited States trackleft2 Tucson, AZ πΊπΈ
patch in #21 didn't apply to 5.5.20, adding new patch that applies on 5.5.20