Skip to content

Cursor jumps to next matched item when adding char to search #118

@mikhaelkh

Description

@mikhaelkh

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

Cursor jumps to next matched item when adding char to search

A specific URL where the issue occurs

chrome-extension://cgbcahbpdhpcegmbfconppldiemgcoii/asset-viewer.html?url=easylist

Steps to Reproduce

  1. Open EasyList (Dashboard->Filter Lists->EasyList)
  2. Type "subdocument" in search field (wait for the search to complete before typing next char)

Expected behavior:

Cursor at 1st matched entry on 42nd line (&admid=$~subdocument)

Actual behavior:

After "s" - 1st line
After "su" - 11th line
After "sub" - 42nd line
After "subd" - 562nd line
After "subdo" - 711th line
and so on...

Your environment

  • uBlock Origin version: v1.16.13b2
  • Browser Name and version: Chromium 67.0.3396.99 x64
  • Operating System and version: Windows 10 v1607 (14393.2339)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions