-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.3
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.4 S1
-
None
Steps to Reproduce
http://zkfiddle.org/sample/3rsa4vr/3-Inconsistent-behavior-in-disabled-input-based-controls
Run fiddle
Click / right click on disabled components. (active components are for comparison only)
Chrome Results
textbox left click: left click event triggered
textbox right click: right click event triggered
decimalbox left click: left click event triggered
decimalbox right click: right click event triggered
checkbox left click on input element: no event
checkbox right click on input element: no event
checkbox left click between input element and border: left click event triggered
checkbox right click between input element and border: right click event triggered
button left click: no event
button right click: no event
Firefox Results
textbox left click: no event
textbox right click: no event, context menu opened
decimalbox left click: no event
decimalbox right click: no event, context menu opened
checkbox left click on input element: no event
checkbox right click on input element: no event, context menu opened
checkbox left click between input element and border: left click event triggered
checkbox right click between input element and border: right click event triggered
button left click: no event
button right click: no event, context menu opened
IE Results
textbox left click: left click event triggered
textbox right click: right click event triggered
decimalbox left click: left click event triggered
decimalbox right click: right click event triggered
checkbox left click on input element: no event
checkbox right click on input element: right click event triggered
checkbox left click between input element and border: no event
checkbox right click between input element and border: no event, context menu opened
button left click: no event
button right click: right click event triggered
Expected Result
More consistent behavior between input elements / more consistent behavior between browsers
Debug Info
In the "no event" cases, it seem that the browser itself suppresses click events on disabled elements
- relates to
-
ZK-4979 The onRightClick event was triggered on a disabled Button since Chrome 92
- Reopened