atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
12.02k stars 521 forks source link

Fix undefined listener invokes (bug #1027) #1028

Closed LazyCompiler closed 2 years ago

LazyCompiler commented 2 years ago

Very simple solution for the bug I reported on: Tippy invokes removeEventListener and addEventListener with an undefined listener #1027 https://github.com/atomiks/tippyjs/issues/1027

Live demonstration available here: https://codepen.io/lazycompiler/pen/rNYxBjQ

Screen Shot 2022-01-31 at 1 20 17 AM