-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
What is the issue with the HTML Standard?
I've been facing this weird issue where the togglePopover doesn't work when it is for closing the popover on a <td> element (I don't know if it's the only element that has this issue though).
My popover is set to auto (by default) and I toggle it with that method (which always wroked well until then, but I may be missing something) (never faced any issue with popovertarget, that's what I mean).
After doing my best to debug it, I've found that the beforetoggle event is triggered twice (close then open) (but not the toggle one, strangely). => if I prevent the opening one (when concurrent with the closing one), then everything works find (this is my only workaround for now).
Here is a reproduction of the issue (and warkaround) https://codepen.io/lcsga/pen/wBwPeMY
If I forget to provide some other needed informations, let me know, I'd do my best to complete it asap!