onlook icon indicating copy to clipboard operation
onlook copied to clipboard

[bug] Incorrect File Highlight in Sidebar

Open Rish-it opened this issue 6 months ago • 0 comments

Describe the bug

Expected behavior: The file currently being edited (active tab at the top) should be highlighted in red in the left sidebar.

Actual behavior: The red highlight only updates when a file is clicked from the left panel, not when switched via the top tabs. As a result, the highlight stays on the previously clicked file even when a new one is active.

https://github.com/user-attachments/assets/1894c654-738f-4846-be45-f901f41c65c3

Steps to Reproduce:

  1. Click a file from the left panel — it's highlighted in red
  2. Now switch to another file via the top tab — the highlight doesn't update
  3. Left panel still shows the previous file as active

Rish-it avatar Jun 08 '25 06:06 Rish-it