FOCUS FOCUS FOCUS 2.0
Make the naive patch on v0.4.5
not so naive, by keeping track of mutated focus elements positions and continue the expected tab sequence even after focus is lost to body
(out of the trap) due to a mutation event (could be v-if
, v-show
, class
that hidden, setting the button disabled
— basically anything that makes an interactive/focusable element inert
).
This is the TL;DR and bfade5b description and comments might help with details if interested.
I've spent more time on this than i should, got a couple of grey hairs and I imagine that there's probably a better/faster/stronger/simpler way of doing it. At this point I just don't fucking care. I've reached the breaking point and managed to get out of there and that's all that matters to me.
Yes it still doesn't work as expected for all possible scenarios, but it doesn't break either. I'll bump this to a minor as soon as i've got a definitive solution, but I don't want to hear about dialogs in the next month, just want to go back to my job now. Check #22 for progress.
☮️