metacpan-web icon indicating copy to clipboard operation
metacpan-web copied to clipboard

In Chrome selecting text from a code section makes the page jump to the bottom

Open knmiecc opened this issue 1 year ago • 1 comments

Describe the bug When trying to select with the mouse cursor a section of text in a code highlighted textbox, the entire page jumps down to the very bottom of the page.

To Reproduce Steps to reproduce the behavior:

  1. Go to any page with a code synopsis, e.g. Test::Expander
  2. Try to copy out a section out of the code synopsis, e.g. -tempdir => { CLEANUP => 0 } This should make the page jump all the way down.

Expected behavior You should be able to mark the text with your mouse cursor without the webpage moving.

Desktop (please complete the following information):

  • OS: Windows 7 Build 19045.3930
  • Browser: Chrome
  • Version: 121.0.6167.140 (Official Build) (64-bit)

knmiecc avatar Feb 06 '24 09:02 knmiecc

This seems like a chrome bug: https://issues.chromium.org/issues/41495913

I'm looking at possible mitigations.

haarg avatar Feb 06 '24 10:02 haarg