jquery.nicescroll icon indicating copy to clipboard operation
jquery.nicescroll copied to clipboard

Error in remove() using angular nicescroll with modal popup

Open inuyaksa opened this issue 7 years ago • 14 comments

started from https://github.com/inuyaksa/jquery.nicescroll/issues/677#issuecomment-315792313

inuyaksa avatar Jul 19 '17 18:07 inuyaksa

I'm still getting issue in my application. The demo given by you works fine and the same way i too implemented but still i'm able to reproduce the error. Actually as some events are not getting disposed i'm using $destroy. so on $destroy function i am calling remove() function to properly dispose. Is there any other alternative available in nicescroll plugin similar to remove(), does same functionality?

But, i found that in earlier versions(3.5.1V) there is no undelegate function. now it is trying to get delegate['resize'] in undelegate() which doesn't exist. because of that error is coming.

pandu5164 avatar Jul 20 '17 08:07 pandu5164

Do you check using last release 3.7.6 ? (beware of the cache)

inuyaksa avatar Jul 20 '17 12:07 inuyaksa

Hi, I took the latest update..now it is fine..working perfect..i am not getting any error now.thankyou very much. I will test it in all devices and let you know soon.. Except in firefox browser scroll in touchscreen laptop by touch(without enabling touch/pointer flags) rest every other places it will work i hope.

Thankyou very much for your update. :-)

Regards, Pavan Z

On 20 Jul 2017 6:07 pm, "Inuyaksa" [email protected] wrote:

Do you check using last release 3.7.6 ? (beware of the cache)

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

pandu5164 avatar Jul 21 '17 15:07 pandu5164

railerror on mouse move in normal laptops-chrome browser2 railerror on mouse move in normal laptops-chrome browser

Now i am getting the following error with the latest code..while testing..any idea about this please let me know the fix?

pandu5164 avatar Jul 22 '17 07:07 pandu5164

On which browser and system issue happen?

inuyaksa avatar Jul 23 '17 19:07 inuyaksa

In normal laptop(running windows7)- chrome browser.

There is small confusion with my laptop chrome browser..even though it is not touch screen its navigator.maxTouchPoints is shown as 42 (but in other browsers and other non touchscreen laptops it shown as 0).becuase of that reason only i started using " 'ontouchstart' in document.documentElement " to detect touch screen device.

On 24 Jul 2017 1:20 am, "Inuyaksa" [email protected] wrote:

On which browser and system issue happen?

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

pandu5164 avatar Jul 24 '17 05:07 pandu5164

adding null check at 2 places resolves issue for me.. Please check the below screenshots for changes I made in plugin. Please correct me if doing this is wrong.

capture1 capture2

Thankyou.

pandu5164 avatar Jul 25 '17 08:07 pandu5164

Very strange situation. You fix could work but there is another big problem, remove don't unbind all events, I presume for your issue. Please send me a screenshot of this page using yout chrome browser: https://nicescroll.areaaperta.com/dojo2/browser.html

inuyaksa avatar Jul 25 '17 18:07 inuyaksa

Hi Inuyaksa,

Here is the screenshot of chrome browser. Please let me know if any workaround available..

Regards, Pavan Z

On Wed, Jul 26, 2017 at 12:06 AM, Inuyaksa [email protected] wrote:

Very strange situation. You fix could work but there is another big problem, remove don't unbind all events, I presume for your issue. Please send me a screenshot of this page using yout chrome browser: https://nicescroll.areaaperta.com/dojo2/browser.html

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

pandu5164 avatar Jul 26 '17 05:07 pandu5164

It seems screenshot is missing.

inuyaksa avatar Jul 27 '17 06:07 inuyaksa

capture

Hi, Please find screenshot here.. Actually i am sending image through gmail. I think it is not getting attached if i send image through gmail.. Anyways..please find image here. Thankyou..

pandu5164 avatar Jul 27 '17 07:07 pandu5164

I found chrome has similar issues on windows 7 in the past. I think it's a local issue about your SO/browser and "some" software. I prefer not make a patch for this situation, because it could interfere with other browser/OS in unpredictable manner. I suggest you to update chrome, there is a change problem solved.

inuyaksa avatar Aug 02 '17 18:08 inuyaksa

Any workaround for this? i got the same issue. Thanks.

elarmando avatar Dec 19 '17 01:12 elarmando

This change is working for me, hope it helps:

image

elarmando avatar Dec 22 '17 16:12 elarmando