Skip to content

[BottomSheetDialog] ProtectionLayout gradient remains visible on BottomSheet dismiss #4868

@dmytroreutov

Description

@dmytroreutov

Description: I'm trying to take advantage of new ProtectionLayout API, so I've bumped version to 1.14.0-alpha02 which adds GradientProtection support to BottomSheetDialog. I can confirm, that when using this version GradientProtection is present, however there is visual bug, when GradientProtection remains on screen for a moment when BottomSheet is dismissed. I'm using BottomSheetDialogFragment.

video5463062464797111120.mp4

Expected behavior: I expect Protection gradient to fade away on dismiss. Also how can I enable Protection to be visible when used with gesture navigation bar (now it's working with 3-button navigation bar only?

Android API version: API 29

Material Library version: 1.14.0-alpha02

Device: Samsung Galaxy Note 10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions