canvas does not trigger resize [Alipay]
Cocos Creator version
3.5.2,3.6.0-080521
System information
window10
Issue description
https://forum.cocos.org/t/topic/138507

You can see that the input is moved up, but the canvas does not trigger the resizeFrame properly.
Relevant error log output
No response
Steps to reproduce
- create a editbox node;
- Use Alipay to scan the code:
Minimal reproduction project
No response
@timlyeee please take a look. If you need any help, can ask @PPpro .
This issue is totally wrong!!! It's not how it works!
Editbox is a DOM element on web, and when the user is trying to input some text, this dom element will scroll up with the DOM API scrollIntoView.
Alipay's web browser does not support this API so the behavior becomes like this. But we cannot detect if it's a Alipay browser or something else....
Please checkout if Alipay mini game has the same issue and that's what we're digging in. @OnlyKoei
此问题属于支付宝软件中的 webview 环境独有的问题,属于支付宝软件的功能缺陷,不是引擎所使用的标准 web api 所能解决的。
用户如果遇到此问题,可以建议针对这个运行环境停止对 edit-box-impl.ts 中的 _adjustWindowScroll 函数的执行。

问题关闭。
This problem is unique to the webview environment in the Alipay software and is a functional defect of the Alipay software that cannot be solved by the standard web api used by the engine.
Users who encounter this problem can suggest stopping the execution of the _adjustWindowScroll function in edit-box-impl.ts for this runtime environment.

Close.