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

fix(dynamic-page) redundant title hover removed #10092

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

PetyaMarkovaBogdanova
Copy link
Contributor

@PetyaMarkovaBogdanova PetyaMarkovaBogdanova commented Oct 28, 2024

In order to not get redundant hover state, we should "clean" it on every rerender, since sometimes, when pressing the expand/collapse button, the change of the position of the mouse pointer is ignored according to viewport and the "hovered"
attribute remains in the title.
I tried to cover the functionality with a test, but the specific mouse behaviour is hard to be mocked.

Fixes: #10019

@kgogov kgogov self-requested a review October 28, 2024 13:30
@PetyaMarkovaBogdanova PetyaMarkovaBogdanova merged commit 15af2f0 into main Nov 1, 2024
10 checks passed
@kgogov kgogov deleted the fix-dynamic-page-title-hover branch November 1, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dynamic-page]: Hover state of the header is incorrectly activated
2 participants