AbdullahChauhan / custom-dropdown

Custom dropdown widget allows to add highly customizable dropdown widget in your projects. Features includes Search on list data, Network search, Multi-selection and many more.
https://pub.dev/packages/animated_custom_dropdown
BSD 3-Clause "New" or "Revised" License
158 stars 73 forks source link

Fixed issue: dropdown being closed on click scroll view when it is being scrolled. #33

Closed s-saens closed 1 year ago

s-saens commented 1 year ago

I tested this in IOS

I clicked the dropdown's scroll view to stop scrolling, and I expected that it would stop scrolling, the field was closed.

originally, because the dropdown field had been wrapped with a GestureDetector as a child, the gesture action had been applied to that child too, where it shouldn't happen.

Instead, I separated and placed them in a Stack, so this issue was fixed.