wshito / asciidoctor-chunker

The utility to create chunked HTML files from the single HTML generated by Asciidoctor.
MIT License
25 stars 7 forks source link

Pressing left or right arrow key causes navigation #41

Closed zopsicle closed 1 year ago

zopsicle commented 1 year ago

The left and right arrow keys, when used together with the shift key, normally adjust which text is currently selected. However, in documents generated by asciidoctor-chunker, such as the Vulkan specification, this causes the browser to navigate to another chapter.

Steps to reproduce

  1. Select text.
  2. Hold shift and press the right arrow key.

Expected behavior

The selection is extended by one character to the right, as on any regular web page.

Actual behavior

The browser navigates to another page.

wshito commented 1 year ago

@chloekek Thank you for your contribution!