Skip to content
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

Old radio button stays selected when new button is selected in RadioGroup. #1436

Closed
richard-uk1 opened this issue Nov 28, 2020 · 6 comments · Fixed by #1448
Closed

Old radio button stays selected when new button is selected in RadioGroup. #1436

richard-uk1 opened this issue Nov 28, 2020 · 6 comments · Fixed by #1448
Labels
S-waiting-on-author waits for changes from the submitter

Comments

@richard-uk1
Copy link
Collaborator

Old radio button stays selected when new button is selected in RadioGroup (until you force it to redraw by e.g. hovering over it).

@JAicewizard
Copy link
Contributor

What platform are you on? I do now have this issue (in the flex example) on linux/gtk

@richard-uk1
Copy link
Collaborator Author

So I think my problem comes from the fact that my RadioGroup is inside a List.

@richard-uk1 richard-uk1 added the S-waiting-on-author waits for changes from the submitter label Dec 1, 2020
@richard-uk1
Copy link
Collaborator Author

richard-uk1 commented Dec 7, 2020

Progress: in ClipBox, the widget is not correctly identifying that its children are active, and so it is not passing events down the tree. This only happens if the events have been added dynamically in a List so I assume this is the problem, but need to dig deeper.

EDIT actually it's not even getting the event after the first false for the child being active. Maybe because it has told its parents that it isn't active.

@richard-uk1
Copy link
Collaborator Author

I thought the patch would fix this bug, but sadly it does not. I will investigate.

@richard-uk1
Copy link
Collaborator Author

richard-uk1 commented Dec 7, 2020

This bug manifests without any Scroll, so the only requirement is that some Radio buttons are inside a List. I've tried using Radio buttons directly and the problem is still there in this case.

@richard-uk1
Copy link
Collaborator Author

In the end it was a bug in user code - I need to implement Data manually to skip checking part of my state under certain conditions. I think added some new state, but forgot to update the same method, meaning that data wasn't being informed of a change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author waits for changes from the submitter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants