[Webkit-unassigned] [Bug 255749] New: input[type="range"]: changing slot name while dragging thumb breaks interaction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 20 14:58:26 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255749

            Bug ID: 255749
           Summary: input[type="range"]: changing slot name while dragging
                    thumb breaks interaction
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Intel)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sorvell at google.com

If a custom element changes a slot name while an input[type="range"]'s thumb is being dragged and the pointer leaves the input, the interaction breaks as described below.

Reproduction: https://lit.dev/playground/#gist=710d6862ae3a2549ecb2b2d4a8663729

1. click the "Set slot name while dragging thumb" checkbox.
2. drag the range's thumb and move the pointer outside the input.

Expected: The thumb drags regardless of where the pointer is and stops dragging when the pointer is released.

Actual: The thumb stops dragging when the pointer moves outside the input; and if it's released while outside the input, when it is subsequently moved back to the input, the thumb starts dragging again even when the pointer is not down.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230420/15260123/attachment-0001.htm>


More information about the webkit-unassigned mailing list