You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/src/components/popover-button/component.tsx
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -60,11 +60,15 @@ export class KolPopoverButton implements PopoverButtonProps {
60
60
// Reset the flag after the event loop tick.
61
61
this.justClosed=false;
62
62
},10);// timeout of 0 should be sufficient but doesn't work in Safari Mobile (needs further investigation).
63
-
}elseif(this.refPopover){
64
-
/**
65
-
* Avoid "flicker" by hiding the element until the position is set in the `toggle` event handler. `alignFloatingElements` is responsible for setting the visibility back to 'visible'.
66
-
*/
67
-
this.refPopover.style.visibility='hidden';
63
+
}else{
64
+
if(this.refPopover){
65
+
/**
66
+
* Avoid "flicker" by hiding the element until the position is set in the `toggle` event handler. `alignFloatingElements` is responsible for setting the visibility back to 'visible'.
0 commit comments