I have a bottom sheet dialog and there is an EditText in the layout. EditText - multi-line, maximum - 3. I put:
commentET.setMovementMethod(new ScrollingMovementMethod());
commentET.setScroller(new Scroller(bottomSheetBlock.getContext()));
commentET.setVerticalScrollBarEnabled(true);
but when the user starts to scroll the EditText text vertically, the BottomSheetBehavior and EditText capture events will not scroll vertically.

Does anyone know how to solve this problem?
source
share