android / views-widgets-samples

Multiple samples showing the best practices in views-widgets on Android.
Apache License 2.0
5.04k stars 3.01k forks source link

MotionLayout with Keyboard disarranges animations #89

Open 0xPixelfrost opened 4 years ago

0xPixelfrost commented 4 years ago

Hi,

i probably found a bug which disarranges the MotionLayout Animations. Once you open (and close) a keyboard on the same page where you have your motion animations, e.g. with help of an EditText, the animations will get a delay, invalid animation states and the UI starts to freeze a bit.

To reproduce this issue, i forked the repository and added an EditText to the content_scrolling.xml. Build and open the app and start the "Complex Motion Example 2/4" to see the bug. Diff

Tested with: androidx.constraintlayout:constraintlayout:2.0.0-beta3

Any ideas for a workaround (without help of the CoordinatorLayout)?

noororfahly13 commented 4 years ago

please tell me if you did find a solution for this

frangulyan commented 4 years ago

Having the same problem....

aeroxr1 commented 2 years ago

is the issue still there ?

nikunjflobiz commented 2 years ago

Glitchy animation on scrolling on motion layout while keyboard is open, any fix?