- First commit to issue fork.
Hey!
This patch is in master, but unfortanetly we still experience this issue.
I tried a few things, but that doesn't work. Here's what I tried:$item['expand_link'] = [ '#type' => 'link', '#title' => '(-) ', '#attributes' => [ 'data-disable-refocus' => ['true'], 'data-refocus-blur' => ['true'], ], '#url' => $link_url, '#ajax' => [ 'wrapper' => $this->formIdAttribute, 'disable-refocus' => TRUE, ], ];
Cheers!
- 🇬🇧United Kingdom scott_euser
Yep as per #15 I could still reproduce it, but I am fixing it in ✨ Improve the Search API admin UI for adding/editing fields Active . The problem was drupal ajax attempts to refocus on the expand button, but expand is replaced by the collapse button. We need to maintain a 'data-drupal-selector' element that is consistent between the two so drupal ajax knows its meant to be the same focus target.