Skip to content
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

Avoid MotionController recreation #571

Merged
merged 12 commits into from Sep 9, 2023

Conversation

zsoltk
Copy link
Contributor

@zsoltk zsoltk commented Aug 18, 2023

Description

Pass transition bounds outside of UiContext, avoid MotionController recreation.

This should solve the state loss and flickering prominent in desktop/web (also possible in android) when the screen size changes.

Check list

  • I have updated CHANGELOG.md if required.
  • I have updated documentation if required.

  Conflicts:
 	CHANGELOG.md
 	appyx-interactions/common/src/commonMain/kotlin/com/bumble/appyx/interactions/core/DraggableChildren.kt
 	appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/navigation/composable/AppyxComponent.kt
@zsoltk zsoltk merged commit 3bc5882 into bumble-tech:2.x Sep 9, 2023
7 checks passed
@zsoltk zsoltk deleted the keep-motion-controller branch September 9, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants