glide icon indicating copy to clipboard operation
glide copied to clipboard

Windows Phone 8

Open bugadani opened this issue 12 years ago • 6 comments

In the WP8 browser swiping doesn't work. Also, on touch the arrows don't fade in as in e.g. the Android browser - although they are clickable.

bugadani avatar Dec 12 '13 13:12 bugadani

I don't have phone with WP8, so I couldn't provide test, but here should be solution: http://stackoverflow.com/questions/13396297/windows-phone-8-touch-support

As always Microsoft have his own ways :C

jedrzejchalubek avatar Dec 12 '13 13:12 jedrzejchalubek

Well unfortunately this had no effect: While still working on Android, WP8 still can't swipe.

        _.parent.on('touchstart', startfunction);
        _.parent.on('touchmove', movefunction);
        _.parent.on('touchend', endfunction);
        if (window.navigator.msPointerEnabled) {
            _.parent.on('MSPointerDown', startfunction);
            _.parent.on('MSPointerMove', movefunction);
            _.parent.on('MSPointerUp', endfunction);
        }
.slider {
    -ms-touch-action: none;
}

bugadani avatar Dec 12 '13 15:12 bugadani

I dont have phone with wp8, so if someone could provide test with latest commit https://github.com/jedrzejchalubek/Glide.js/commit/d337d830b348a41cc3330e7166006b218bc4b89f, that it be great :)

jedrzejchalubek avatar Feb 21 '14 09:02 jedrzejchalubek

Checked on Lumia 920 and this doesn't seem to work. Event binding looks ok (touchstart/move/end methods fire), but inside each method:

  • event.originalEvent is an empty object
  • I couldn't access either clientX or pageX property - don't know why this is happening atm...

reksc avatar Feb 28 '14 10:02 reksc

Had a similar issue with Lumia 920. A fix would be greatly appreciated! :+1:

nanopils avatar Mar 27 '14 14:03 nanopils

Glide has been released in version v2.0.0. If the problem remains, please set up a new thread.

jedrzejchalubek avatar Apr 22 '15 19:04 jedrzejchalubek