minor scrolling fix and ellipsize fix
This commit is contained in:
parent
ff90f257cc
commit
c1a67ff1f8
2 changed files with 14 additions and 1 deletions
|
|
@ -30,6 +30,9 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
|
|||
// We're scrolling down
|
||||
} else {
|
||||
// We're scrolling up
|
||||
if (mOffsetAnimator != null && mOffsetAnimator.isRunning()) {
|
||||
mOffsetAnimator.cancel();
|
||||
}
|
||||
min = -child.getUpNestedPreScrollRange();
|
||||
max = 0;
|
||||
consumed[1] = scroll(coordinatorLayout, child, dy, min, max);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue