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 379 forks source link

[fix] Stack crops the widgets outside (https://github.com/akshathjain… #287

Closed subzero911 closed 2 years ago

subzero911 commented 2 years ago

Solved https://github.com/akshathjain/sliding_up_panel/issues/286

Stack by default crops the widgets outside. I explicitly selected Clip.none mode.

Please note if you attach floating widgets to the header with the Stack+Positioned, don't forget to select Clip.none on it too.

subzero911 commented 2 years ago

It works, but the buttons outside the panel (with minus position) won't respond to taps. See this comment https://github.com/akshathjain/sliding_up_panel/issues/286#issuecomment-1018463757 It's a common problem, HitTestBehaviour is not working outside the Stack.