Brave scrolls to bottom when trying to select text in a "code field"

Description of the issue:
When browsing pages that have a text field like for example when highlighting code blocks, when I try to select parts of the text field, it will scroll to the bottom and mark everything from where I selected…

When trying the same in Firefox mobile browser it doesn’t happen, so it is not a fault of the page.

For example this page:

See here:
ezgif-4-27d2cb97f9

How can this issue be reproduced?

  1. Visit a page with code blocks e.g https://documentation.wazuh.com/current/proof-of-concept-guide/detect-malware-yara-integration.html
  2. Try selecting a part of the code block and drag the selector down
  3. Selector will scroll down to the bottom

Expected result:
Selector will just go down slowly and selecting the right thing that I need

Brave Version( check About Brave):
Brave 1.62.152, Chromium 121.0.6167.101

Mobile Device details
Samsung Galaxy A52S
Android 14
Patch level 2024-01
OneUI 6.0

Additional Information:

I believe have the same bug in desktop browser while trying to copy snippets from bootstrap site. Just scroll to end of any page that has CSS/SCSS section at the bottom and try to select any text in it.

url example: https://getbootstrap.com/docs/5.3/forms/input-group/

edit: OS: macos v13.6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.