-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Radio buttons active area overlaps #3331
Comments
@Nils-Berghs I tried to reproduce what you've described here, but I don't see the issue you're describing. Could you provide a sample repo/app that reproduces the issue? |
This issue is marked stale because it has been open 30 days with no activity. Remove stale label or update the issue, otherwise it will be closed in 14 days. |
@nicolaihenriksen when clicking on the text as in your sample, it works correctly, the problem occurs when clicking on the buttons itself |
@Nils-Berghs Will try to reproduce it again... UPDATE: Easily reproducible. I'll have a look at what's going on. |
Bug explanation
In WPF if you create a some radiobuttons in grid rows or in a vertical stack panel without vertical margins, the active area of the different buttons overlap.
This means that there is a region on the upper button that actually selects the next button (assuming that the upper button is declared first in xaml). When adjusting the Z index of the radio button it is possible to reverse it (i.e. part of the lower button selects the upper one).
Note that half is slightly exaggerated (maybe bottom third)
Version
4.9.0
The text was updated successfully, but these errors were encountered: