Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Dragging fails over iframes #5

@arv

Description

@arv

The way you need to do this to get it working is to; On mousedown you add capturing event listeners to the document.

The current implementation uses the track event which does not work when there are iframes present. By using a capturing event on the document we are telling the browser to enter a special code path designed just for this use case.

For a working splitter see: https://chromium.googlesource.com/chromium/src/+/master/ui/webui/resources/js/cr/ui/splitter.js#83

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions