angular-nicescroll icon indicating copy to clipboard operation
angular-nicescroll copied to clipboard

Touch device error

Open geriremenyi opened this issue 9 years ago • 5 comments

I'm trying to use this angular directive in my project and it seems like that it doesn't support the touch devices.

I'm using the directive with the following setup:

Works like a charm on desktop with mousewheel also with mouse drag and scroll but it is not working with a mobile device. Tested with chrome dev tools nexus 4 device and also with a real nexus 4 device and a samsung galaxy s4. Neither of them working.

Tried with different setups using every touch and hardware options but no luck.

geriremenyi avatar Feb 22 '16 16:02 geriremenyi

@geriremenyi can u tell me what option are you using?

tushar-borole avatar Feb 23 '16 03:02 tushar-borole

I'm using the default settings I just overwote the following options: { autohidemode: false, horizrailenabled: false, cursorborder: 'none', touchbehavior: true }

geriremenyi avatar Feb 23 '16 08:02 geriremenyi

It also logs a lot of (debug) messages in the console window on touchbehaviour true.

geriremenyi avatar Feb 23 '16 09:02 geriremenyi

@geriremenyi I checked this example on mobile http://embed.plnkr.co/M8FBkx3DLY3ZNbZ9f4vM/preview Its working f9

tushar-borole avatar Feb 23 '16 20:02 tushar-borole

I have the same problem. See my settings bellow.

$scope.scrollOptions = {
    autohidemode: false,
    cursorborder: 'none',
    cursorcolor: '#bd954b',
    touchbehavior: true,
    cursordragontouch: true,
    horizrailenabled: false
  };

I'm using this on modal and the application scrolls the window behind, but my content don't move.

raphaellopes avatar May 19 '16 17:05 raphaellopes