duskload/react-device-detect

Doesn't work in landscape!

khteh opened this issue · 1 comments

khteh commented
  1. Bug description
  2. Steps to reproduce
  3. Device user-agent
  4. Device/Browser type/name
  5. Share code for a better understanding (for example, here https://codesandbox.io/s/new)
  6. 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: #155 (comment)

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.