mkosir / react-parallax-tilt

👀 Easily apply tilt hover effect on React components - lightweight/zero dependencies (3kB)

Home Page:https://mkosir.github.io/react-parallax-tilt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gyroscope not working on safari

lavish0000 opened this issue · comments

Gyroscope is not working in safari , version 13.
I even opened this demo in safari mobile.
"https://mkosir.github.io/react-parallax-tilt/?path=/story/react-parallax-tilt--gyroscope-tilt",
even this is not working either.
can you please help me to fix this issue.
I am using iphone X for this.

Hi @lavish0000, fix is merged and deployed in the newest version 1.4.56, please check and confirm if it's working for you as expected?
With iOS 13+ devices permission API can be used to gain access to device orientation event. Apple decided turning device motion and orientation off by default since iOS 12.2.
Updated docs.

Closing this issue since inactivity, feel free to reopen it!