Render size jitters when resizing in HTML5

When you resize the canvas in HTML5 (usually by resizing window), the render size jitters around what the actual value should be. This is particularly problematic with UMG, as in my project I have a UI element at the top of the screen, and most of the time part of it is cut off. You can reproduce this in a clean project; it’s more easily noticeable if you have a UI element against the border of the screen; you’ll see the UI element sometimes overextending or being slightly cut off as you resize. Visually, you can see it happening as a next frame issue; the viewport resizes correctly the first frame, and then resizes slightly off the very next frame. If you just manually call the javascript resize event in the console, UE_JSlib.UE_CanvasSizeChanged();, you can reproduce without even resizing the window.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Will do, thanks.