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

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

Closed
groberts9 opened this issue Mar 2, 2015 · 2 comments
Closed

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

groberts9 opened this issue Mar 2, 2015 · 2 comments
Assignees
Labels

Comments

@groberts9
Copy link

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.

@groberts9 groberts9 changed the title Splitter Touch does not work when JQuery library present Splitbar touch drag does not work when JQuery library present Mar 2, 2015
@nitech
Copy link

nitech commented Aug 31, 2015

Thank you groberts9. My issue was the exact same

@SomeKittens
Copy link
Contributor

Reproduced w/ demo2.html, fix currently presented breaks tests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants