mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 01:22:07 +01:00
c4ef290859
Fixes #11420 Two issues existed; 1. Safari will not set `document.activeElement` as expected in all other browsers, instead, when a button is clicked it will keep the activeElement as `body`. This meant that the reset of the disabled button (before the confirm triggers a click) was not working. 2. Visually the button still had the loading spinner due to w-progress controller having triggered the loading visuals, this did not block the behaviour but looked broken. See Safari behaviour docs: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#clicking_and_focus - https://bugs.webkit.org/show_bug.cgi?id=22261 |
||
---|---|---|
.. | ||
api | ||
components | ||
config | ||
controllers | ||
entrypoints | ||
includes | ||
plugins | ||
tokens | ||
utils | ||
custom.d.ts | ||
index.test.js | ||
index.ts |