react-device-detect
react-device-detect copied to clipboard
Doesn't work in landscape!
- Bug description
- Steps to reproduce
- Device user-agent
- Device/Browser type/name
- Share code for a better understanding (for example, here https://codesandbox.io/s/new)
- Any additional info
Any update on this? The library does not work on landscape mode, you can try the isMobile, on Chrome landscape mode for example to reproduce.
I found this solution: https://github.com/duskload/react-device-detect/issues/155#issuecomment-910359028
But the problem is, first there is 0 documentation on how to use it, and for me, it should be exported like isMobile without using withOrientationChange etc.