Open adroitwhiz opened 4 years ago
This one seems to have about the same functionality and is still maintained:
https://www.npmjs.com/package/react-tiny-popover
You could also consider rolling a self-made version to have one less dependancy.
I looked into react-tiny-popover
but it uses createRef
which isn't supported in the old version of React that Scratch currently uses.
Yikes ok, version 16 is used right?
Yes, but there are a variety of point-releases that add new features and deprecate (but don't break) old ones.
As far as I can see you have to do a bit of work yourself but seems good.
Ah also 16.8.0
We should look at updating our React version
Expected Behavior
We should use libraries that still receive updates
Actual Behavior
react-popover
, used for the color slider popover, was last updated 2 years ago.It contains a bug where it recognizes mouse and touch events but ignores pointer events, which is blocking https://github.com/LLK/paper.js/pull/37. I was hoping to get a fix merged into it, but they don't seem to be looking at any pull requests.