serratus/quaggaJS

Strange behavior in IOS 14

szamszara opened this issue · 3 comments

Hello,

Works great with android, but I found a strange behavior in IOS 14.
I attach two screenshoots.

  1. In landscape mode, the camera works, but only a tiny line shows
  2. In portrait mode, the camera works, but zoom in too much, so nothing seen.

Can you fix it?
Thanks,

IMG_0497
IMG_0499

I don't have the ability to change the live demos, but if you're having this problem yourself, then you need to remove the line that sets aspect ratio to max: 100

Thanks, it is working now.
If I remove this line:
//aspectRatio: {min: 1, max: 100},
it will not cause trouble in another way e.g. for android, etc.

it shouldn't. it's unkown why iOS 14+ respond with absolutely useless aspect ratio when given that.