Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

releasePointerCapture firing InvalidPointerId when it shouldn't? #275

Closed
@patrickhlauke

Description

@patrickhlauke

Not sure if it's my (admittedly horrible) code, but: see https://jsfiddle.net/dbjvwcz1/ in Edge and then in, say, Chrome. despite e.pointerId being correct (the same as when setPointerCapture was called), releasePointerCapture throws Uncaught Error: InvalidPointerId

(I see that simply omitting the releasePointerCapture in my hacky code actually makes it work just fine, and is ok as per spec since the UA should automatically release any captured pointers anyway on pointerup/pointercancel ... but still, this does seem to point to some issue in the releasePointerCapture code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions