Skip to content

gh-14317: Show pinned-tab scroll-shadow dividers based on scroll position - #14560

Open
daberni wants to merge 2 commits into
zen-browser:devfrom
daberni:fix/collapsed-pinned-scroll-shadow
Open

gh-14317: Show pinned-tab scroll-shadow dividers based on scroll position#14560
daberni wants to merge 2 commits into
zen-browser:devfrom
daberni:fix/collapsed-pinned-scroll-shadow

Conversation

@daberni

@daberni daberni commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

The top/bottom scroll-shadow dividers were derived from the arrowscrollbox's scrolledtostart/scrolledtoend, which it computes from the first/last scrollable element's edge. With collapsed pinned tabs those edges are unreliable, so the divider either flashed at the top (when pinned tabs were counted) or only appeared once scrolled past the pinned/normal separator (when excluded).

…scroll position

The top/bottom scroll-shadow dividers were derived from the arrowscrollbox's scrolledtostart/scrolledtoend, which it computes from the first/last scrollable element's edge. With collapsed pinned tabs those edges are unreliable, so the divider either flashed at the top (when pinned tabs were counted) or only appeared once scrolled past the pinned/normal separator (when excluded).
@daberni
daberni requested a review from mr-cheffy as a code owner July 12, 2026 12:26
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. Improvement labels Jul 12, 2026
@mr-cheffy

mr-cheffy commented Jul 12, 2026

Copy link
Copy Markdown
Member

I feel like you already opened a similar PR to this? As I explained last time, we don't plan on fixing this, the overhead doesn't seem to be worth it for this minor issue

@mr-cheffy mr-cheffy closed this Jul 12, 2026
@daberni

daberni commented Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

I feel like you already opened a similar PR to this? As I explained last time, we don't plan on fixing this, the overhead doesn't seem to be worth it for this minor issue

@mr-cheffy You are right, but this approach is now really clean an minimal. Also restoring the same behaviour as Arc is showing. The duplicate divider on collapsed Workspaces is really annoying me :D

@mr-cheffy mr-cheffy reopened this Jul 12, 2026

@mr-cheffy mr-cheffy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all seems to be super AI generated....

Comment thread src/toolkit/content/widgets/arrowscrollbox-js.patch Outdated
@daberni

daberni commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

This all seems to be super AI generated....

why do you think so? which part of the code does not meet your standards, or what is your issue exactly? 🧐 I am happy to address any concerns

@daberni
daberni requested a review from mr-cheffy July 13, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants