Bug 219636 - setPointerCapture breaks range inputs
Summary: setPointerCapture breaks range inputs
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-08 03:26 PST by Jake Archibald
Modified: 2024-01-15 10:45 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Archibald 2020-12-08 03:26:12 PST
https://jsbin.com/teteluw/1/edit?html,js,output

Try to drag the range slider. It won't move. Then, mouse up, and hover over the range thumb, it'll start moving with the mouse.
Comment 1 Radar WebKit Bug Importer 2020-12-15 03:27:15 PST
<rdar://problem/72336389>
Comment 2 Smoley 2020-12-15 16:04:58 PST
Thanks for filing, I can reproduce this on Safari 13.1.3 as well as STP 117.
Comment 3 M Austin 2021-06-19 13:58:30 PDT
Instead of filing a separate bug, I'll suggest that this could be expanded to include number inputs as well. When setPointerCapture is used on a number input, clicking one of the "spinbutton"s will cause hovering over them to increment/decrement continuously as if the mouse/pointer/button was held down. Example at:
https://lzlpc.csb.app/