Skip to content
Snippets Groups Projects
Commit 195158b1 authored by Riley Jones's avatar Riley Jones
Browse files

Properly constrain FAB to its normal bounds when tucking

Bug: 343881584
Flag: EXEMPT self-contained bugfix
Test: drag FAB to corner of the screen and release. FAB should move away from the system bars and stay visible.
Change-Id: I5b28214677ae4822d1bbf95d624a8e71a1677149
parent 106560ec
No related branches found
No related tags found
No related merge requests found
......@@ -311,6 +311,7 @@ class MenuAnimationController {
constrainPositionAndUpdate(
new PointF(mMenuView.getTranslationX(), mMenuView.getTranslationY()),
/* writeToPosition = */ true);
mMenuView.onPositionChanged(true);
moveToEdgeAndHide();
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment