Skip to content

[pull] main from Shopify:main - #203

Merged
pull[bot] merged 6 commits into
code:mainfrom
Shopify:main
Jul 13, 2026
Merged

[pull] main from Shopify:main#203
pull[bot] merged 6 commits into
code:mainfrom
Shopify:main

Conversation

@pull

@pull pull Bot commented Jul 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

wcandillon and others added 6 commits July 13, 2026 08:13
ViewScreenshotService clips scroll containers to their viewport while
compositing the view tree, but only checks `instanceof ScrollView`.
HorizontalScrollView does not extend ScrollView (both extend FrameLayout),
so a horizontal scroll container was never clipped: an oversized child such
as a wide Skia <Canvas> (a TextureView) inside one bled past its viewport to
the output bitmap edge in the captured image.

Clip HorizontalScrollView as well; getScrollX/Y/getWidth/getHeight are
View methods so the existing clip math works unchanged (the ScrollView
cast is dropped). iOS is unaffected.

Co-authored-by: Hirvesh <hirvesh.munogee@gmail.com>
Co-authored-by: William Candillon <wcandillon@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Jul 13, 2026
@pull pull Bot added the ⤵️ pull label Jul 13, 2026
@pull
pull Bot merged commit 699fca3 into code:main Jul 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants