Skip to content

[Bug]: Settings sidebar tabs highlight the wrong section #1078

@sagarchaulagai

Description

@sagarchaulagai

Stremio-Web Version

/development branch

Browser

Firefox

Platform / Device type

Windows

What Happened?

In the Settings page, clicking a tab scrolls to the correct section, but the active tab highlight logic uses a strict offsetTop <= scrollTop comparison.
If the browser scroll lands even 1px above the section (due to borders, padding, or browser rounding or whatever), the check fails and the wrong tab becomes active.

This creates two visible issues:

  • Clicking Streaming sometimes highlights Player instead.
  • Scrolling to Shortcuts may highlight Streaming instead.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions