cocos-engine
cocos-engine copied to clipboard
Preview in Editor doesn't resize Canvas UI
Cocos Creator version
3.7.0
System information
macOS
Issue description
I'm using UI Canvas to get a responsive UI. I tested in editor with the "Preview in Editor" feature but the canvas doesn't resize.
Relevant error log output
No response
Steps to reproduce
Create a Canvas with Node with "Widget" components.
I click on the "Rotate" button to test.
However it works OK in the browser.
Minimal reproduction project
No response
I guess the reason is the UI haven't receive any resize event from the Preview window