Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

bottom-sheet: touch-action not reverted on cleanup #11147

@jonaszuberbuehler

Description

@jonaszuberbuehler

Bug

After mdBottomSheet is hidden touch-action: pan-x; is not removed from parent element (ie body) preventing vertical scrolling on mobile devices.

What is the expected behavior?

Any added touch-action should be reset to initial state.

What is the current behavior?

The added touch-action ist not removed on

onCleanup: function(element) {
if (this.oldTouchAction) {
element[0].style[touchActionProperty] = this.oldTouchAction;
}
.

Which versions of AngularJS, Material, OS, and browsers are affected?

AngularJS 1.6.6, Material 1.1.7, Android, Chrome

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions