TaimoorHassan / multiselect

A simple DropDown widget with multiselect enabled by default
https://pub.dev/packages/multiselect
BSD 3-Clause "New" or "Revised" License
10 stars 64 forks source link

Clicking on selected items does nothing on linux. #28

Open hurelhuyag opened 1 year ago

hurelhuyag commented 1 year ago

Expected behavior: The entire area of the widget should be clickable

Current behavior: I have to click outside the selected items.

TarasBounty commented 1 year ago

On Web also reproduce

Justbeingjustin commented 1 year ago

I also encountered a similar issue with Flutter web. It's a bit frustrating that there isn't a reliable library available for creating a straightforward multi-drop-down list with the ability to select multiple options. This is a gap that really needs to be addressed if Flutter web wants to gain traction among web developers. I did come across another repository, but in my view, even after selecting items, the visual presentation still falls short for web.

I ended up investing quite a bit of time trying to make this repository work according to my needs, and it was quite a struggle.

Eventually, I took matters into my own hands and developed my own custom widget. While it's not flawless, it generally accomplishes what I intended. You can see the outcome in the video below:

Situation1

If anyone is interested, feel free to use the provided code snippet to build something similar. Sharing this might save others from the same challenges I faced.

https://gist.github.com/Justbeingjustin/9ef8f5eda3dec28609b41900b3cf8fae