Material-dialogs: Can't scroll up when using bottom sheet

Created on 1 Aug 2019  路  1Comment  路  Source: afollestad/material-dialogs

Library Version:

3.1.0

Affected Device(s):

Xiaomi Mi 6, MIUI 10, Android P

Describe the Bug:

I can't scroll up when have a long layout with EditText, watch gif
Screenrecorder-2019-08-01-20-25-44-765

To Reproduce:

  1. You need a long layout with EditText
  2. MaterialDialog(this, BottomSheet())
  3. customView(R.layout.yourlonglayout, scrollable = true)
bug bottomsheets

Most helpful comment

@massivemadness I had the same issue for scrollable content but without EditText fields, I fixed my issue by wrapping my BottomSheet layout with a NestedScrollView. Maybe it fixes your issue too or is helpful for fixing the issue in general.

>All comments

@massivemadness I had the same issue for scrollable content but without EditText fields, I fixed my issue by wrapping my BottomSheet layout with a NestedScrollView. Maybe it fixes your issue too or is helpful for fixing the issue in general.

Was this page helpful?
0 / 5 - 0 ratings