Skip to content

Commit

Permalink
[Search] Fix expand/collapse animation for non-predictive back cases …
Browse files Browse the repository at this point in the history
…where rootView bounds are not equal to searchView bounds

PiperOrigin-RevId: 530596832
  • Loading branch information
dsn5ft authored and leticiarossi committed May 9, 2023
1 parent e157608 commit 577d23e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -339,7 +339,7 @@ private Animator getRootViewAnimator(boolean show) {
Rect toClipBounds =
initialHideToClipBounds != null
? initialHideToClipBounds
: ViewUtils.calculateRectFromBounds(rootView);
: ViewUtils.calculateRectFromBounds(searchView);
Rect fromClipBounds =
initialHideFromClipBounds != null
? initialHideFromClipBounds
Expand Down

0 comments on commit 577d23e

Please sign in to comment.