-
Notifications
You must be signed in to change notification settings - Fork 40
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
ListSelectController::change_index should Eq instead of Data::same() #106
Comments
So |
Exactly this is the problem. See Druid Radio for a more correct implementation... |
Ahh I see. |
Besides, do you know the difference between ListSelect and RadioGroup? I can see that items are rendered differently, but other functionality is quite the same? I just wonder if we can merge that into RadioGroup... |
Just detected that Flutter also use 2 different widgets, so I guess people expect to have different widget for different visual style. |
Interesting though. Perhaps they could share the logic code (I don't know just thinking out loud). |
The original observation is definitely a bug though. |
Just saw that ListSelectController::change_index() use Data::same() to compare values:
IMHO this should use Eq to compare variants. This muse be exact - not best effort.
The text was updated successfully, but these errors were encountered: