zeroseven / react-screen-orientation

Display React Components based on screen orientation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-screen-orientation on Safari (macOS)

MPGAJEWSKI opened this issue · comments

I'm running into problems with the plugin on macOS Safari (on iOS Safari everything works fine).
I get a warning message in console "No orientationchange events" and the screen gets set to "portrait" orientation instead of default "landscape".

Sorry for the delayed reply. Safari doesn't support any of the orientation detection methods used. What do you propose should happen in that case?