Skip to content

WW-5640 Cancel pending teleport unmount timer on dropdown reopen - #19

Open
kevinbarfleur wants to merge 2 commits into
mainfrom
WW-5640_hover-flicker
Open

WW-5640 Cancel pending teleport unmount timer on dropdown reopen#19
kevinbarfleur wants to merge 2 commits into
mainfrom
WW-5640_hover-flicker

Conversation

@kevinbarfleur

Copy link
Copy Markdown

quick re-hover could let the previous close timer unmount the freshly reopened popup, now the timer is tracked and cancelled on open

Comment thread src/wwElement.vue Outdated
Comment on lines +187 to +189
watch(isDisplayed, (isDisplayed) => {
if (isDisplayed) {
clearTimeout(unmountTimeoutId);

@leo91000 leo91000 Jul 29, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

isDisplayed est utilisé avec .value plus bas, mais c'est actuellement shadowed par ce paramètre

Suggested change
watch(isDisplayed, (isDisplayed) => {
if (isDisplayed) {
clearTimeout(unmountTimeoutId);
watch(isDisplayed, (displayed) => {
if (displayed) {
clearTimeout(unmountTimeoutId);

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.

2 participants