react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

Framework agnostic aria tools

Open maksimsemenov opened this issue 4 years ago • 9 comments

🙋 Feature Request

React aria has a lot of code that ensures that it works correctly across different browsers. I think it will be very helpful to make this code available as a standalone library, so they could be used not only with react but with other frameworks or vanilla js as well.

For example, I was looking into the usePreventScroll hook source code. And it uses an internal function to prevent scroll in mobile safari (preventScrollMobileSafari). The preventScrollMobileSafari does not have any dependencies in react and can save a lot of time for developers, who does not work with react, but have the same issue.

maksimsemenov avatar Dec 01 '20 19:12 maksimsemenov