inuyaksa / jquery.nicescroll

nicescroll plugin for jquery - scrollbars like iphone/ipad
https://nicescroll.areaaperta.com/
3.6k stars 1.67k forks source link

scroll is not working on edge and firefox browsers in touchscreen laptops #677

Closed pandu5164 closed 7 years ago

pandu5164 commented 7 years ago

Hi, I am using touch screen laptop. I added this plug-in for testing on firefox and edge browsers. I'm unable to scroll content by touching screen. Please let me know how to fix them. Is there any patch/update available? Note:- 2finger gesture scroll is working is working. but single finger is not working. Where as it works fine in chrome browser.

Thankyou.

inuyaksa commented 7 years ago

Please let me know if my page works: https://nicescroll.areaaperta.com/demo/

and make a screenshot of this one: https://nicescroll.areaaperta.com/dojo2/browser.html

pandu5164 commented 7 years ago

Hi,

Sorry for the delayed response. Your demo URL is not working in the mentioned browsers. Kindly let me know the fix/update

Regards, Pavan Z.

On 8 Jul 2017 12:58 am, "Inuyaksa" notifications@github.com wrote:

Please let me know if my page works: https://nicescroll.areaaperta.com/demo/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inuyaksa/jquery.nicescroll/issues/677#issuecomment-313772176, or mute the thread https://github.com/notifications/unsubscribe-auth/AMHsdAmcXOzlrMagYwnlWwJTULqHPlx3ks5sLobngaJpZM4OQoYo .

inuyaksa commented 7 years ago

Please I need more infos about your device, then make a screenshot of this page: https://nicescroll.areaaperta.com/dojo2/browser.html

pandu5164 commented 7 years ago

Hi, About my devices:-

  1. Microsoft surface pro4 (4GBRAM/128GBSSD)
  2. Lenovo Yoga 510 - Touchscreen laptop (8GB RAM/Corei5/500GBStorage) These are the 2 devices i am using and configurations of those devices.

I attached screen shots of 2 browsers with comments as file name of that picture.

In edge browser that particular URL ( https://nicescroll.areaaperta.com/dojo2/browser.html ) is working I'm able to scroll, but in Firefox still scroll not working. please observe the screenshots attached.

Kindly look into it and let me know the fix/workaround if available.

Regards, Pavan Z.

On Sat, Jul 8, 2017 at 12:58 AM, Inuyaksa notifications@github.com wrote:

Please let me know if my page works: https://nicescroll.areaaperta.com/demo/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inuyaksa/jquery.nicescroll/issues/677#issuecomment-313772176, or mute the thread https://github.com/notifications/unsubscribe-auth/AMHsdAmcXOzlrMagYwnlWwJTULqHPlx3ks5sLobngaJpZM4OQoYo .

inuyaksa commented 7 years ago

Hi, you miss image

pandu5164 commented 7 years ago
mozilla firefox - scroll not working - instead it is selecting on scroll - issue scroll working in this particular page on edge browser

Please find the attached images and comments for it i mentioned yesterday.

inuyaksa commented 7 years ago

It seems Firefox 47 do not implement touch support for javascript, as stated here: https://developer.mozilla.org/it/docs/Web/API/TouchEvent

You can resolve add nicescroll parameter emulatetouch and set to true.

Screenshots do you posted as about Lenovo or Surface?

Yesterday made a little fix for Surface, please test demo page: https://nicescroll.areaaperta.com/demo/

pandu5164 commented 7 years ago

Hi, Screenshots I posted is of Lenovo touchscreen laptop.

Regards, Pavan Z.

On Wed, Jul 12, 2017 at 4:45 PM, Inuyaksa notifications@github.com wrote:

It seems Firefox 47 do not implement touch support for javascript, as stated here: https://developer.mozilla.org/it/docs/Web/API/TouchEvent

You can resolve add nicescroll parameter emulatetouch and set to true.

Screenshots do you posted as about Lenovo or Surface?

Yesterday made a little fix for Surface, please test demo page: https://nicescroll.areaaperta.com/demo/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inuyaksa/jquery.nicescroll/issues/677#issuecomment-314739038, or mute the thread https://github.com/notifications/unsubscribe-auth/AMHsdKItjByoZcQRHclz9Rti3tuKt7sKks5sNKrogaJpZM4OQoYo .

inuyaksa commented 7 years ago

Only updated Firefox works or you need set emulatetouch to true Do you have checked with parameter set to true?

pandu5164 commented 7 years ago

Hi Yes, i've checked the parameter to true, then in given demo url scroll works perfectly in firefox. Can you zip and send me the latest updated version of nicescroll plugin(both minified and unminified versions). I will keep it in my application and check whether my problem is resolved or not in firefox and edge browsers.

inuyaksa commented 7 years ago

I hope to release soon the stable 3.7.5 version. In the meanwhile you can user dojo version https://github.com/inuyaksa/jquery.nicescroll/tree/dev-dojo

pandu5164 commented 7 years ago

Hi,I am getting the following error after updating the plugin. Please let me know why it is happening. Issues is happening in normal laptops itself. capture7 capture8

This error is coming when we are trying to remove the nicescroll. Example:- niceScrollObj.remove( ) -- > throws error when we try to destroy

pandu5164 commented 7 years ago

Hi,

After updating the plugin to 3.7.5 i am getting error when we try to call remove( ) function to niceScrollObj. This is happening most of the times in application & I already mentioned the comment in github but i didn't get any response till now so i am mailing you. please respond to this. please let me know if there is any workaround/alternative available for remove( ) in nicescroll.

Note:- attached images in this mail.

Regards, Pavan Z.

On Thu, Jul 13, 2017 at 7:37 PM, Inuyaksa notifications@github.com wrote:

I hope to release soon the stable 3.7.5 version. In the meanwhile you can user dojo version https://github.com/inuyaksa/ jquery.nicescroll/tree/dev-dojo

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inuyaksa/jquery.nicescroll/issues/677#issuecomment-315088155, or mute the thread https://github.com/notifications/unsubscribe-auth/AMHsdFTnluEi4SgN3XyXy2U9k5t509WBks5sNiRhgaJpZM4OQoYo .

inuyaksa commented 7 years ago

Hi, do you call remove or you delete a DOM element?

pandu5164 commented 7 years ago

Hi, Actually i am using modal window pop-up which has scrollable content in it. while closing the pop-up i am destroying the modal(completely removing from DOM) at that time i am getting this error..Earlier plugin 3.6.8V doesn't used throw this error.

pandu5164 commented 7 years ago

Hi, Actually i am using modal window pop-up which has scrollable contents in it. while closing the pop-up i am destroying(calling angular - $destroy) the modal(completely removing from DOM) at that time i am getting this error..Earlier plugin 3.6.8V doesn't used throw this error.

Regards, Pavan Z

On Tue, Jul 18, 2017 at 1:43 PM, Inuyaksa notifications@github.com wrote:

Hi, do you call remove or you delete a DOM element?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inuyaksa/jquery.nicescroll/issues/677#issuecomment-315991356, or mute the thread https://github.com/notifications/unsubscribe-auth/AMHsdFAKfVtfSCF9DzpLGYvllxfoNNghks5sPGkPgaJpZM4OQoYo .

inuyaksa commented 7 years ago

Thanks for the infos, I'm investigating

inuyaksa commented 7 years ago

Sorry, I can't reproduce issue. Please check the code on this page and let me know how different is your code (I know you use angular) https://nicescroll.areaaperta.com/dojo2/modal.html

inuyaksa commented 7 years ago

@pandu5164 please continue on new issue #683