debiki / utterscroll

Enables dragscroll on your website. Automatically detects when you want to select text, not scroll.
34 stars 8 forks source link

Keep scrollbars active #3

Closed stefanvangastel closed 9 years ago

stefanvangastel commented 10 years ago

Hi,

Really like this plugin. Works well in overflow divs so that's why I am using it.

I was wondering how to keep the scrollbars active. They seem to be 'disabled' or something. Using FireFox 18 (offline intranet...).

Thanks in advance

kajmagnus79 commented 10 years ago

Hi Stefan,

Thanks for the feedback. Keeping the scrollbars active — I tested http://www.debiki.com/dev/utterscroll with FireFox 27 and indeed the scrollbars are disabled for some reason, in the small nested scrollbars demo box in the middle of the page. I haven't noticed this before, probably because I've tested mainly with Chrome, and with Chrome the scrollbars work fine. — Since you mention FireFox 18 I'm wondering if this has been an issue for fairly long. I hope I'll have some time to look into this during the weekend or next weekend.

kajmagnus79 commented 10 years ago

Hi again, I haven't been able to fix the problem, but I can tweak the code to make a workaround possible. The workaround would be to add CSS position: relative to the element with scrollbars. Would that work for you?

The scrollbars break when Utterscroll removes, remembers and restores the CSS position style, and I have no idea how this can break the scrollbars. I'm thinking it's a Firefox bug, since it works fine for me with Chrome or Opera.

stefanvangastel commented 10 years ago

Ill try! Op 30 mrt. 2014 21:17 schreef "KajMagnus" notifications@github.com:

Hi again, I haven't been able to fix the problem, but I can tweak the code to make a workaround possible. The workaround would be to add CSS position: relative to the element with scrollbars. Would that work for you?

The scrollbars break when Utterscroll removes, remembers and restores the CSS position style, and I have no idea how this can break the scrollbars. I'm thinking it's a Firefox bug, since it works fine for me with Chrome or Opera.

Reply to this email directly or view it on GitHubhttps://github.com/debiki/utterscroll/issues/3#issuecomment-39036089 .

kajmagnus79 commented 10 years ago

Hi again, Now I've pushed the workaround. Please let me know if it works :-)

Here is a demo, it forks for me in Firefox v27: http://rawgithub.com/debiki/utterscroll/master/utterscroll-example.html

I also updated the readme file with a section about this issue.

stefanvangastel commented 10 years ago

Sorry, forgot to report, works great for me in ff18! Thanks a lot. Op 6 apr. 2014 20:44 schreef "KajMagnus" notifications@github.com:

Hi again, Now I've pushed the workaround. Please let me know if it works :-)

Here is a demo, it forks for me in Firefox v27: http://rawgithub.com/debiki/utterscroll/master/utterscroll-example.html

Reply to this email directly or view it on GitHubhttps://github.com/debiki/utterscroll/issues/3#issuecomment-39676429 .

kajmagnus79 commented 10 years ago

You mean the workaround works fine? But FF18 is broken without the workaround I suppose? (FF27 is broken for me without the workaround)

— I'll close this issue then, thanks for reporting it :-)

stefanvangastel commented 10 years ago

Yes. You pushed a fix? (Not the workaround?) Op 6 apr. 2014 20:47 schreef "KajMagnus" notifications@github.com:

You mean the workaround works fine? But FF18 is broken without the workaround I suppose? (FF27 is broken for me without the workaround)

Reply to this email directly or view it on GitHubhttps://github.com/debiki/utterscroll/issues/3#issuecomment-39676517 .

kajmagnus79 commented 10 years ago

A workaround. I think I won't be able to come up with a fix that works in all cases.