thorium-reader icon indicating copy to clipboard operation
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)

Open danielweck opened this issue 1 year ago • 2 comments

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.

danielweck avatar May 27 '24 17:05 danielweck

Screenshot 2024-05-27 at 18 06 34 Screenshot 2024-05-27 at 18 07 14

danielweck avatar Jun 26 '24 07:06 danielweck

same with window resize event causing keyboard focus steal (modal-docked panel transition triggers viewport resize too)

danielweck avatar Jun 26 '24 07:06 danielweck

duplicate: https://github.com/edrlab/thorium-reader/issues/2607

danielweck avatar Nov 13 '24 21:11 danielweck