-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single item mode is not working properly with horizontal scroll #66
Labels
bugfix
Something does not work properly
Comments
afominov
changed the title
Single item mode is not working properly in horizontal scroll
Single item mode is not working properly with horizontal scroll
Nov 10, 2020
hi @omnifer, could you post your code? you must also indicate the version with flutter doctor |
Hi, @Dn-a Also the bug exists in example app from this repository. You can reproduce it with steps I wrote above. flutter doctor -v
|
@omnifer yes it's a bug and I will fix it in the next release. |
Dn-a
added a commit
that referenced
this issue
Nov 11, 2020
new release 0.4.9+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Selecting tag item causes an exception in case Tags widget builds with
horizontalScroll: true
and ItemTags - withsingleItem: true
.I'm very new in flutter, but I've made a small investigation.
It looks like, that in case horizontal scrolling with no symmetry the default ListView widget is used for building tag items list. If
singleItem
mode is true, selecting of tag item causes an exception, because of not all ListView items was builded and we are not be able to "disativate" each item inItemTagsState._singleItem()
As I said, I'm new with flutter. I think, I get a reason of that bug (hope I get it right 😄 ), but I have no idea how to fix it in a proper way.
Steps to reproduce:
horizontal scroll
andsingle item
checkboxesStack trace:
The text was updated successfully, but these errors were encountered: