malihu / malihu-custom-scrollbar-plugin

Highly customizable custom scrollbar jQuery plugin, featuring vertical/horizontal scrollbars, scrolling momentum, mouse-wheel, keyboard and touch support etc.
http://manos.malihu.gr/jquery-custom-content-scroller
MIT License
4.11k stars 1.51k forks source link

Unable to drag on iOS devices. #253

Open kavitakanojiya opened 9 years ago

kavitakanojiya commented 9 years ago

Hey @malihu ,

I incorporated this plugin around iframe but I am unable to drag content in iOS devices. I have initialized the plugin as :

$(".lms-container").mCustomScrollbar({ axis: "yx", theme: "light-thick" }); where my html structure looks like: .lms-container iframe#some-id{ src: some-url }

I see internal settings as:

Am I doing anything wrong? Can you help me to resolve this issue ASAP ?

Thanks.

kavitakanojiya commented 9 years ago

Also, I noticed I am unable to scroll down/up/across the iframe content using keyboard keys. It would be good if you could verify this and let me know on this.

Thanks.

malihu commented 9 years ago

Hello,

Yes I can verify this. I've scheduled to fix these issues on the next plugin version (hopefully within this month).

Thanks for the feedback

kavitakanojiya commented 9 years ago

Hey @malihu ,

Thanks for your reply. Eagerly waiting for this fix :100: :+1:

koraysels commented 9 years ago

we also have this issue.. but only on ipad 2 with ios 7.1.2.. ipad air2 and iphone 6 are fine on ios8....

malihu commented 9 years ago

Just updated plugin to version 3.0.8 which should now support touch and keyboard scrolling for iframe(s) within content. Please note that events will work on non-cross-origin accessible iframe(s).

ahsan-technyx commented 3 years ago

Hello guys, Do we have any luck with this? Because I have this issue

juandelaoliva commented 3 years ago

Hi! I also have the same problem, with newer devices it seems to work fine but I'm testing with an iPhone 6s iOS14.4.1 and it doesn't seem to work.

On the library example page itself it gives problems. http://manos.malihu.gr/repository/custom-scrollbar/demo/examples/complete_examples.html

You can easily check it with the horizontal scroll, which only works if you swipe very ephemeral because if you leave your finger pressed for a few milliseconds the scroll will no longer work.

With the vertical scrolls the same thing happens making the navigation through the page a bit tedious.