Bug #12367
closedCheckbox in WPopupMenu does not respond to click with firefox -- regression
100%
Description
In firefox, clicking on a checkbox in a WPopupMenu does not update the checkbox. This can be observed in the WidgetGallery at: /widgets/navigation/popup-menu.
This issue appears to have been introduced with commit a2b9f4c00 (wt-4.10.1). Since it does not happen with chromium, it may be a firefox bug; I'm not sure what the correct interpretation should be.
As a workaround, I experimented with a one-line patch that only sets the href to "javascript:void(0);" if the widget has no children -- and it seemed to help. I only tested under Linux with chromium 120 and firefox 120, so it's possible that other browsers are affected. If not, the workaround could possibly be limited to Gecko-based browsers.
Updated by Matthias Van Ceulebroeck 10 months ago
- Target version set to 4.11.0
It also only the checkbox itself, the label next to it will still make the checkbox selection change.
Likely it is some side-effect of how the browser handles this. I'll dig around a bit, and see if I can resolve this. Otherwise I'll consider the alternative.
Regardless, thank you for the report.
Updated by Romain Mardulyn 4 months ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
Updated by Romain Mardulyn 4 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck 3 months ago
- Status changed from Review to Implemented @Emweb
- Assignee set to Romain Mardulyn
- % Done changed from 0 to 100
Updated by Matthias Van Ceulebroeck about 2 months ago
- Status changed from Implemented @Emweb to Closed