-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
It is not easy to reproduce, but if you toch host panel when it is moving to the right (when the menu is opening) then host panel flies to the right side and then host panel can be seen only by half of width. It can be fixed by adding condition into Scrolling.run() function
...
@OverRide
public void run() {
boolean more = mScroller.computeScrollOffset();
if (more) {
int x = mScroller.getCurrX();
int diff = x - lastX;
if (mHost.getLeft() > mMenuWidth || mHost.getLeft() < 0){
mHandler.removeCallbacks(this);
if (open) {
mState = MENU_OPENED;
} else {
mState = MENU_CLOSED;
}
return;
}
...
.
Metadata
Metadata
Assignees
Labels
No labels