Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tabbar to fade out tabs on both edges #2701

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

thatcomputerguy0101
Copy link

This fixes the scroll edge detection of the tabbar by reverting it to use the elements list directly instead of filtering the tab list, which yields incorrect bounds due to Zen's changes to the tabbar. Additionally, the mask effect is now also applied to the top edge of the scroll zone when not fully scrolled to the top, similar to what was done on the bottom edge.

There seems to be a rendering bug when an element utilizing backdrop-filter is masked, resulting in the masking effect stopping at that element. This means that whenever the selected tab is repainted onscreen, it and any tabs below it do not have the mask effect applied on that repaint. Any individual non-selected tabs that are then updated by hovering over them will have the mask applied since then they do not share a repaint with the selected tab. According to Chromium bug report 40284528, this may be due to how the specification for those two styles are defined.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. Bug labels Nov 6, 2024
@mauro-balades
Copy link
Member

Zen doesnt run chromium though

@thatcomputerguy0101
Copy link
Author

I'm aware, but I'm assuming they both share some common logic as defined in the CSS specification. I was unsuccessful in finding any reports for that problem on Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants