modal_bottom_sheet
modal_bottom_sheet copied to clipboard
Add support for custom ScrollControllers
Inside my modal_bottom_sheet, I open a CustomScrollView, if I assign to it
ModalScrollController.of(context)
everything works fine and I can drag to close, but now I have a special implementation, where my CustomScrollView
, must have as controller
parameter, an AutoScrollController
(a package that autoscrolls to a specific index), this is a class that extends the ScrollController
class.
As soon as I assign this AutoScrollController
to my CustomScrollView
, the drag to close stops working.
Is there anything I could do with this package to solve this issue, where it let's me assign different ScrollControllers to the ScrollView that is inside the modal_bottom_sheet?
Thank you
Hi, i have this issue too, have you solved?
Hey! It is not going to be possible to support other type of controllers.
I will try to reserve some time into looking to this depending on the demand. So if you are interested please add a 👍🏻