atomiks / tippyjs

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

Update plugins to use the correct key code #1091

Open dankentfield opened 1 year ago

dankentfield commented 1 year ago

In the documentation for plugins you recommend to useKeyboardEvent.keyCode however this is deprecated, the current advice is to use KeyboardEvent.code. So I have updated the docs to reflect this very minor change.