thorium-reader
thorium-reader copied to clipboard
keyboard focus is redirected into the content area because of handleLinkLocator resync to ensure correct page / scroll offset (CTRL+N and CTRL+SHIFT+N open the navigation panel but in docked mode focus is stolen, same when switching from modal to docked)
Follow-up to: https://github.com/edrlab/thorium-reader/issues/2373#event-12948293957
Culprit: https://github.com/edrlab/thorium-reader/commit/d3d154efb40f71286e361cd681fd50745f65bb63
stealFocusDisable(true); breaks the functionality of activating a heading using the enter key, and navigating / focusing automatically into the content.
same with window resize event causing keyboard focus steal (modal-docked panel transition triggers viewport resize too)
duplicate: https://github.com/edrlab/thorium-reader/issues/2607