[go: up one dir, main page]

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

  1. 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
  2. Scroll to the middle of the page
  3. Select some property and copy its value
  4. Scroll back to top
  5. Refresh the page
  6. Hit Ctrl+F
  7. Paste the value
  8. Observe scrolling to the right place, seeing the highlight for 1-2 frames
  9. 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

repro.mov

Edited by 🤖 GitLab Bot 🤖