-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Describe the bug
When searching (find with "/") in e. g. files or logs in Gitlab the find matches text, but it doesn't jump to it anymore. After inspecting the html page it seems to happen when matches are inside a <code> block. It seemed to work fine until a few weeks, but maybe Gitlab changed something in their implementation.
To Reproduce
Steps to reproduce the behavior:
- Go to URL https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/channels/graphql_channel.rb
- Enter find mode with '/'
- Search for 'end'
- Cycle through matches with 'n'
- Doesn't jump to matches out of view
See 7 matches of 'end' but only 3 in first screenshot. Third match got highlighted and if you cycle through further no match will be highlighted, so it's at the next match but out of focus.
You can also search for text out of view and it shows matches but not focus/highlight them because it doesn't jump to the match.
Alternative URL for bigger screens with higher resolution:
1.) Go to https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/abuse_reports/components/abuse_category_selector.vue
2. Search for 'template'
Browser and Vimium version
| Google Chrome | 143.0.7499.193 (Official Build) (arm64) |
|---|---|
| Revision | fc6af963edebc86a5d6779e29b94312ebe911538-refs/branch-heads/7499@{#4084} |
| OS | macOS Version 15.5 (Build 24F74) |
| JavaScript | V8 14.3.127.17 |
| User agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 |
Vimium 2.3.1