bare-minimum-2d
bare-minimum-2d copied to clipboard
TODO: Add "on touch listener" to demo3
-
[ ] Add a note in demo3 that the interaction only works on desktop in the
<DemoSticky />component https://github.com/mithi/bare-minimum-2d/blob/master/example/src/demo3/demo.js Or it might be better to add an "on touch listener" -
[ ] Please also remove this weird line space here: https://github.com/mithi/bare-minimum-2d/blob/07f8e0f59965868db0c215d2470d926acf579639/example/src/demo1/demoProps.js#L134-L137
Hello! I would like to do this. Could you please tell me how to proceed with the first one?
Hello! I would like to do this. Could you please tell me how to proceed with the first one?
Hey! Thanks for your interest in contributing to this project!
-
First things first, open this on your desktop browser: https://bare-minimum-2d.netlify.app/demo3 Move your mouse around (hovering) and you will find that the pinwheel will spin.
-
Try to open it on a mobile device like your phone or ipad and you will notice that you won't be able to do the same.
The goal here is to try to make it work both on touch screens and regular screens. Do you think you'll be able to find out how to do that at make it work?
Please also read the contributing guidelines and the recommended commit style guide! Thank you!