angular-nicescroll
angular-nicescroll copied to clipboard
Touch device error
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 can u tell me what option are you using?
I'm using the default settings I just overwote the following options: { autohidemode: false, horizrailenabled: false, cursorborder: 'none', touchbehavior: true }
It also logs a lot of (debug) messages in the console window on touchbehaviour true.
@geriremenyi I checked this example on mobile http://embed.plnkr.co/M8FBkx3DLY3ZNbZ9f4vM/preview Its working f9
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.