Skip to content

While swipe the snack bar our parent view AppBar also getting swiped. #75

@Vijayadhas

Description

@Vijayadhas

Tsnack bar make a big issue in our project. We are showing snack bar in top of the screen. And user able to swipe to dismiss. Now the issue is user swipe the snack bar our AppBar also getting disappeared . We investigate the issue we got that this is because of Behaviour changes in Coordinate layout. Unfortunately we are not able to solve this. Any one face this issue?

We tried

		behavior.setDragCallback(new AppBarLayout.Behavior.DragCallback() {
			@Override
			public boolean canDrag(AppBarLayout appBarLayout) {
				return false;
			}
		});
		((CoordinatorLayout.LayoutParams)appBarLayout.getLayoutParams()).setBehavior(behavior);

But no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions