WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
124852
"disabled" property on input type button still responds to touchstart events
https://bugs.webkit.org/show_bug.cgi?id=124852
Summary
"disabled" property on input type button still responds to touchstart events
jglawrence
Reported
2013-11-25 12:18:22 PST
This bug shows up when using touch events in place of click events. I have specifically seen this on iOS and Android, up to 7.0.3 & 4.0 respectively. When a button has the "disabled" property, touch events will still trigger the button's event handlers while click events will not. The desired behavior is that the event handlers are ignored as the button is disabled. To reproduce, create an input element with type="button". Set the input to "disabled" with an event handler bound to it. Run this code on an iOS or Android device, click the 'disabled' button, and you will see you event handler code run.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-08 15:28:50 PST
<
rdar://problem/122587323
>
Abrar Rahman Protyasha
Comment 2
2024-02-08 15:36:29 PST
It'll be good to verify whether or not this still happens. I'll do that soon.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug