Skip to content

Conversation

@gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes #6029

Proposed Changes

This PR fixes a bug that caused flyout buttons to remain visually highlighted after being tapped on mobile. This is because mobile browser apply :hover styles on :active, but don't stop applying them until something else gets focus. Now, the :hover style is limited to devices that actually support hovering via a media query, and an :active style has been added for mobile, which automatically gets removed post-tap.

@gonfunko gonfunko requested a review from a team as a code owner January 23, 2026 23:09
@gonfunko gonfunko requested a review from BenHenning January 23, 2026 23:09
@github-actions github-actions bot added the PR: fix Fixes a bug label Jan 23, 2026
Copy link
Collaborator

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Nice fix.

@gonfunko gonfunko merged commit ca16c85 into main Jan 27, 2026
12 checks passed
@gonfunko gonfunko deleted the mobile-hover branch January 27, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flyout buttons are not unhighlighted after being pressed on mobile

3 participants