Search highlight disappears on blob view
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
How to reproduce
- Open https://gitlab.com/gitlab-org/gitlab-services/design.gitlab.com/-/blob/main/packages/gitlab-ui/src/tokens/build/css/tokens.css?ref_type=heads
- Scroll to the middle of the page
- Select some property and copy its value
- Scroll back to top
- Refresh the page
- Hit Ctrl+F
- Paste the value
- Observe scrolling to the right place, seeing the highlight for 1-2 frames
- Observe highlight lost immediately after that
Epectation: you're scrolled to the search match and the highlight is applied to the text
Reality: you're scrolled to the search match but the highlight is immediately removed
Edited by 🤖 GitLab Bot 🤖