New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(android): Window.open() wrongly does fade-in animation by default as of 8.0.1 #10910
Conversation
…ement fade-in animation by default as of 8.0.1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR: PASS
FR passed. Tested with the testcase provided in the PR. Windows transition works as expected in default transition test, custom transition test, and shared element transition test. Test Enviornment: |
… as of 8.0.1 (tidev#10910) * [TIMOB-27101] Android: Fixed bug where Window.open() does a shared-element fade-in animation by default as of 8.0.1 * Android: Improved transition animation to not overlap status bar and navigation bar for [TIMOB-27101] * Android: Added shared-element transition unit test for [TIMOB-27101] * Increased timeouts in unit tests for [TIMOB-27101]
JIRA:
https://jira.appcelerator.org/browse/TIMOB-27101
Summary:
Was always defaulting to the shared-element activity transition animation if "animated" was
true
andopen()
method was not assigned a "activityEnterAnimation" and "activityExitAnimation" property.Modified to only do a shared-element transition if at least 1 transition property was assigned (such as "activityEnterTransition" or if at least 1 view was given to the
addSharedElement()
method. Otherwise it'll use the activity's normal activity animations. This was, TIMOB-25678 is still supported which allows you to use shared-element transition properties without having to add shared-element views for convenience.Default Window Transition Test:
(This verifies that the Titanium 8.0.1 regression is fixed.)
Custom Window Transitions Test:
(This tests that transition animations will work without using the
addSharedElement()
method.)Shared Element Transition Test:
(This tests that views in one window can slide/animate to a different position in another window.)