[ad_1]
Canvas space exceeds the utmost restrict (width * peak > 16777216).
I get above warning, and canvas shouldn’t be rendered when testing on iPhone 12 Simulator.
Nevertheless, after I make telephone portrait orientation (rotate display), the error goes away and canvas is rendered.
https://pqina.nl/weblog/canvas-area-exceeds-the-maximum-limit/
It’s 2022 and Safari nonetheless can’t deal with canvas components having extra
than 16777216 pixels.
I learn above hyperlink, and perceive why error happens in iOS (my canvas is big 5k * 2k(major) and 100s of smaller canvas on prime of it).
However I can’t perceive why error goes away in portrait mode.
Any concepts?
[ad_2]
