Skip to content

fix: support TouchableOpacity as [other] on iOS when has content#31

Merged
thymikee merged 2 commits into
mainfrom
fix/touchable-opacity
Feb 9, 2026
Merged

fix: support TouchableOpacity as [other] on iOS when has content#31
thymikee merged 2 commits into
mainfrom
fix/touchable-opacity

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented Feb 9, 2026

Fixes TouchableOpacity from React Native not being visible in iOS snapshots.

Example:

@e1 [application] "Rock83Brownfield"
@e2 [window]
@e3 [other] "Hello World"
@e4 [text] "Hello World"
@e5 [button] "Click me"
@e6 [other] "TouchableOpacity"  # this is now shown

This means that the snapshots show more data, which is a breaking change in the output and will require updating tests (if created)

Fixes #30

Tested locally as CI tests are timing out.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 9, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-31/

Built to branch gh-pages at 2026-02-09 17:51 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 4aed3fb into main Feb 9, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS snapshot not retrive TouchableOpacity element in a React Native app

1 participant