Restorer relies on focusout event firing when element is removed
Closed this issue · 1 comments
smhigley commented
Safari does not fire focusout
or any other events when a node is removed, which means focus isn't restored when the restorer source is unmounted, even though focus returns to the body.
This can be reproduced in the Restorer stories in Safari, and also in FUI in components with popups (e.g. Popover, Dialog, Menu, etc.).
smhigley commented
Actually jumped the gun a little here -- the current focusout
approach doesn't work in any non-Chromium browser, and the spec is unclear/currently debated as to which approach is correct.
ref: