[Webkit-unassigned] [Bug 170447] New: <input type="range"> changing to disabled while active breaks all pointer events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 4 04:04:15 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=170447
Bug ID: 170447
Summary: <input type="range"> changing to disabled while active
breaks all pointer events
Product: WebKit
Version: Safari 10
Hardware: Macintosh
OS: OS X 10.10
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tomxor at gmail.com
Created attachment 306168
--> https://bugs.webkit.org/attachment.cgi?id=306168&action=review
Test Case
Safari Version 10.1 (10603.1.30.0.34)
This is an intentional duplicate of 82558 from 2012 which was fixed in the same year, but I cannot re-open. New test case included here in-case it's any different.
If a native slider is disabled while the user is dragging, then other pointer events on the page will stop working from that point onward.
In the following example, drag the slider to either end where it will be disabled, then attempt to click the button to get the alert.
<!doctype html>
<script>
const input = (that) => {
if (Math.abs(that.value - 50) === 50) {
that.disabled = true;
}
};
</script>
<input type="range" oninput="input(this)">
<button onclick="alert('Click')">Click</button>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170404/f141f172/attachment-0001.html>
More information about the webkit-unassigned
mailing list