Closed igorvukic closed 1 year ago
Use Version Use version when bugs appear:
@floating-ui/core
@floating-ui/dom
Describe the bug hide event is emitted before every show event
hide
show
To Reproduce 1) Add @show and @hide events and console.log once they occur. You will notice that before each opening hide event is emitted
Screenshots
Expected behavior hide event should be only emitted on closing and not before opening
Here is a screenshoot of event listeners:
And link to stackblitz.
@igorvukic Thanks for the report~
Use Version Use version when bugs appear:
@floating-ui/core
: v1.0.0@floating-ui/dom
: v1.0.0Describe the bug
hide
event is emitted before everyshow
eventTo Reproduce 1) Add @show and @hide events and console.log once they occur. You will notice that before each opening
hide
event is emittedScreenshots![image](https://user-images.githubusercontent.com/25299683/228790708-d1ae1fb7-a8b7-48bc-91b7-2f0ebc7af753.png)
Expected behavior
hide
event should be only emitted on closing and not before opening