Skip to content

[pull] main from Shopify:main - #217

Merged
pull[bot] merged 2 commits into
code:mainfrom
Shopify:main
Aug 18, 2026
Merged

[pull] main from Shopify:main#217
pull[bot] merged 2 commits into
code:mainfrom
Shopify:main

Conversation

@pull

@pull pull Bot commented Aug 18, 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 : )

dependabot Bot and others added 2 commits August 18, 2026 13:34
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.15.0 to 3.15.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/3.15.1/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.15.0...3.15.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.15.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ViewScreenshotService.drawChildren() reflected for
ReactViewGroup.dispatchOverflowDraw(Canvas) to reproduce overflow clipping
while walking the view tree manually. React Native removed that method in
0.77.0 and moved the clip into ReactViewGroup.dispatchDraw(), which calls
BackgroundStyleApplicator.clipToPaddingBox().

Since the library's peer dependency is react-native >=0.78, the reflection
fails on every supported version: it throws NoSuchMethodException once per
ReactViewGroup per capture, logs a stack trace, and never applies the clip.
Children of a view with overflow: hidden / scroll therefore bleed outside
their parent in the image returned by makeImageFromView().

Replicate the clip with a direct call to
BackgroundStyleApplicator.clipToPaddingBox(), which is public and @JvmStatic
across the whole supported React Native range, so a future removal surfaces
as a build error instead of a silent runtime regression.

---------

Co-authored-by: William Candillon <wcandillon@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Aug 18, 2026
@pull pull Bot added the ⤵️ pull label Aug 18, 2026
@pull
pull Bot merged commit ba62172 into code:main Aug 18, 2026
7 of 8 checks passed
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.

1 participant