| … | … | @@ -0,0 +1,72 @@ | |
| 5 | + | function report() { | |
| 6 | + | pending = false; | |
| 7 | + | var body = document.body; | |
| 8 | + | var contentHeight = Math.ceil(root.scrollHeight > root.clientHeight ? root.scrollHeight : root.getBoundingClientRect().height); | |
🟠 High threads/html-render-webview-bridge.ts:8
When a positioned descendant extends beyond normal-flow content, contentHeight alternates between the overflow height and the root’s smaller bounding-box height as ThreadHtmlRender resizes the viewport, making the inline page and following messages jump repeatedly. Once scrollHeight equals clientHeight, this conditional switches to the bounding box and loses the positioned overflow; measure that overflow independently of the viewport before using the smaller fallback.
No longer relevant as of 64a7b54c6bb09d4946d1de57b6d3d68e2f9b8762