Skip to content

activate() only called ONMOUSEDOWN but not ONTOUCHSTART #12

@biancashouse

Description

@biancashouse

A temp fix is to:

<replace-with
    class="your.version.of.DragAndDropManagerImpl">
    <when-type-is
        class="gwtquery.plugins.draggable.client.DragAndDropManager" />
</replace-with>

and change line 168 to:

            if (e == null || e.getTypeInt() == ONMOUSEDOWN || e.getTypeInt() == ONTOUCHSTART) {

and add the static import:

import static com.google.gwt.user.client.Event.ONTOUCHSTART;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions