My WKWebView based iOS app works fine on the device and on the simulator.
However, when running on macOS (Mac Catalyst) if I increase the window size, it produces the following error on the Javascript console and stops displaying the canvas content:
Canvas area exceeds the maximum limit (width * height > 16777216).'
If I decrease the window size again, the content reappears fine.
Is there any way to use larger window sizes (WKWebView sizes) without this error and with the content still appearing in the view?
Is there any way to change the WKWebView maximum limit?