Skip to content

Conversation

@NathanWalker
Copy link
Contributor

What is the current behavior?

Different timing conditions during shared element transitions can cause the following error:

java.lang.IllegalArgumentException: A shared element with the target name 'image-1234567890' has already been added to the transaction.
androidFragmentTransactionCallback file: @nativescript/core/ui/transition/page-transition.android.js:245:0

What is the new behavior?

Prevention to a target already being added to the transaction.

@NathanWalker NathanWalker changed the title fix(android): shared element with the target name already added to th… fix(android): shared element with target name already added to transaction Sep 7, 2025
@nx-cloud
Copy link

nx-cloud bot commented Sep 7, 2025

View your CI Pipeline Execution ↗ for commit 87b0f8f

Command Status Duration Result
nx test apps-automated -c=ios ✅ Succeeded 2m 5s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-07 21:39:39 UTC

@NathanWalker NathanWalker added this to the 8.9.8 milestone Sep 8, 2025
@NathanWalker NathanWalker merged commit e0e8126 into main Sep 8, 2025
6 of 8 checks passed
@NathanWalker NathanWalker deleted the fix/android-shared-transition-dupe-name branch September 8, 2025 15:18
@abo-L
Copy link

abo-L commented Oct 16, 2025

What is the current behavior?

Different timing conditions during shared element transitions can cause the following error:

java.lang.IllegalArgumentException: A shared element with the target name 'image-1234567890' has already been added to the transaction.
androidFragmentTransactionCallback file: @nativescript/core/ui/transition/page-transition.android.js:245:0

What is the new behavior?

Prevention to a target already being added to the transaction.

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.

3 participants