Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
  • cab778df
    Issue #3269716 by andy-blum, mherchel: Olivero: Search is unusable in desktop... · cab778df
    Lauri Timmanee authored
    Issue #3269716 by andy-blum, mherchel: Olivero: Search is unusable in desktop Safari (at wide widths)
@@ -40,7 +40,12 @@
<span class="block-search-wide__button-close"></span>
</button>
<div{{ content_attributes.addClass('block-search-wide__wrapper').setAttribute('data-drupal-selector', 'block-search-wide-wrapper') }}>
{#
Add tabindex=“-1” to prevent Safari from closing search bar when the submit button is clicked with a mouse.
@see https://www.drupal.org/project/drupal/issues/3269716
@see https://bugs.webkit.org/show_bug.cgi?id=229895
#}
<div{{ content_attributes.addClass('block-search-wide__wrapper').setAttribute('data-drupal-selector', 'block-search-wide-wrapper').setAttribute('tabindex', '-1') }}>
<div class="block-search-wide__container">
<div class="block-search-wide__grid">
{{ content }}
Loading