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
Swipe back navigation overrides ActionBar styles (iOS) #7430
Comments
I believe this happens because the Even though it's not being used by the first page, swiping back transitions the ActionBar styles to the default style (since no style was specified). I've updated the Playground so you can test this behaviour. The The second issue remains though. If you begin swiping back the ActionBar will take on the styles off the page you are navigating back to; the
|
Looks like we need to register notifyWhenInteractionChanges of UIViewControllerTransitionCoordinator inside the delegate of This would allow {NS} to detect if the swipe event was cancelled and reset the ActionBar to the appropriate styles. |
Reported via t.1448746 Steps to reproduce:
Expected: The navigation bar (ActionBar) not to change the styles when back navigation is triggered. The issue happens on iOS only (works as expected on Android with slide transition) Temporary solution: Explicitly align the styles of ActionBar as done here and only then hide the action bar as done here |
Environment
Describe the bug
Navigating back on
iOS
via the default swipe back navigation removes allActionBar
styles to the defaultiOS
style. And if the swipe back navigation event is started but not completed the styles remain changed.To Reproduce / Sample project
See Playground
Expected behavior
ActionBar
styles of the navigating page are not overridden.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: