Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Svelte]: Fix standard click-based popover flow#63192

Merged
vovakulikov merged 2 commits into
mainfrom
vk/fix-svelte-popover
Jun 10, 2024
Merged

[Svelte]: Fix standard click-based popover flow#63192
vovakulikov merged 2 commits into
mainfrom
vk/fix-svelte-popover

Conversation

@vovakulikov

Copy link
Copy Markdown
Contributor

Closes SRCH-504

It seems that this problem was caused by slipped-out showOnHover check for hover-based trigger event listeners

Test plan

Manual testing

@vovakulikov vovakulikov requested review from a team and camdencheek June 10, 2024 16:17
@vovakulikov vovakulikov self-assigned this Jun 10, 2024
@cla-bot cla-bot Bot added the cla-signed label Jun 10, 2024

@camdencheek camdencheek 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.

Thank you!!

clearTimeout(delayTimer)
toggle(false)

if (isOpen) {

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.

Isn't this redundant? toggle(false) just sets the value of isOpen if given an argument

@vovakulikov vovakulikov merged commit ab30565 into main Jun 10, 2024
@vovakulikov vovakulikov deleted the vk/fix-svelte-popover branch June 10, 2024 18:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants