sparksuite / react-accessible-dropdown-menu-hook

A simple Hook for creating fully accessible dropdown menus in React
http://sparksuite.github.io/react-accessible-dropdown-menu-hook
MIT License
112 stars 26 forks source link

Usage of deprecated method #299

Closed ShahriarKh closed 1 year ago

ShahriarKh commented 2 years ago

Warning in Firefox:

Element.setCapture() is deprecated. Use Element.setPointerCapture() instead.  
For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture

[touch-simulator.js:219:19]
corymharper commented 2 years ago

@ShahriarKh are you sure this is coming from this package? A look at the source code doesn't have any usage of that method. Its possible that the code is being transpiled in such a way that it includes that method, but I wouldn't be sure of why immediately.

ShahriarKh commented 2 years ago

I will take a look again. Maybe an extension is throwing this warning. However, I only see it in "Seeing Theory".