akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 377 forks source link

[Bug] sometimes the collapsed widget is not touchable anymore #322

Open dpacchi opened 1 year ago

dpacchi commented 1 year ago

Hello,

I have placed some buttons inside the "collapsed" widget and I've noticed that sometimes the whole widget loses touch and the buttons are not clickable.

I've also noticed that this bug happens mostly in this situation:

Here is my code

child: SlidingUpPanel( controller: dashboardCubit.panelController, defaultPanelState: dashboardCubit.panelState, isDraggable: true, renderPanelSheet: true, maxHeight: MediaQuery.of(context).size.height, minHeight: SizeConstants.collapsedHeight, collapsed: PlayerScreenCollapsed(), onPanelOpened: () { dashboardCubit.onPanel(opened: true); }, onPanelClosed: () { dashboardCubit.onPanel(opened: false); }, panelBuilder: () { return PlayerScreen(); }, body: SafeArea(

DimaGhanem1 commented 12 months ago

It's solved for you ? I'm facing the same issue ( I think this is because collapsed widget it's faded so it's still in the background) I can handle if I margin the panel widget from top as collapsed height

@dpacchi