Skip to content

Commit e5346c8

Browse files
committed
* popover: simplify mouseleave event handling by removing unnecessary event parameter, improving code clarity
1 parent f7afe02 commit e5346c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/popover/src/vanilla/popover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class Popover<O extends PopoverOptions = PopoverOptions, E extends Compon
114114
if (!this.shown) {
115115
this.show({delay: true, event});
116116
}
117-
}).on(`mouseleave${namespace}`, (e) => {
117+
}).on(`mouseleave${namespace}`, () => {
118118
this.delayHide();
119119
});
120120
} else {

0 commit comments

Comments
 (0)