Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Splitbar touch drag does not work when JQuery library present #82

@groberts9

Description

@groberts9

Using ui-layout 1.0.5 in Chrome 40 and IOS 8.1 Safari when the JQuery library of any vintage is loaded the splitbar will not move using touch. I presume this problem will occur with most or all browsers.

For the browsers I am using this can be fixed by changing:

    (mouseEvent.originalEvent && mouseEvent.originalEvent[ctrl.sizeProperties.mouseProperty]) ||

to

    (mouseEvent.originalEvent && mouseEvent.originalEvent.targetTouches[0][ctrl.sizeProperties.mouseProperty]) ||

Apologies for not forking; I don't have time at the moment to learn the necessary skills or test this on all leading browsers.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions