Perfect-scrollbar: does not work Firefox and Edge while working perfect on Chrome

Created on 18 Mar 2017  路  10Comments  路  Source: mdbootstrap/perfect-scrollbar

It does not works on firefox and edge. and i dont know anything about it. Its same codes, my website on my local server. Works great on Chrome but does not work with Firefox or Edge.

Most helpful comment

height should be set for scroll container. It's the same for browser native scroll with overflow: auto. Also, in @minamoto19's case, overflow: hidden is not set for scroll container, but for body. For the detailed usage, please refer to README.

If there are other issues, please provide some code snippets.

p.s. Please do not spam '+1' with comments. Emoji reaction is recommended by GitHub.

All 10 comments

+1

+1

+1

+1

I'm having the same problem.
It works correctly in Chrome, Opera, Safari and IE11 but not working in Firefox and Edge.

From the developer tools I noticed that in Firefox and Edge the "ps--active-y" class was missing from my container.
Tried to add it manually. After scroll was removed.

I'll try too dig deeper.

Hi again.

Try to define a height property to the container you want to be scrollable.

That fixed the issue for me.

Working example: https://jsfiddle.net/gbfLazpx/1074/
Not working example: https://jsfiddle.net/gbfLazpx/1072/

height should be set for scroll container. It's the same for browser native scroll with overflow: auto. Also, in @minamoto19's case, overflow: hidden is not set for scroll container, but for body. For the detailed usage, please refer to README.

If there are other issues, please provide some code snippets.

p.s. Please do not spam '+1' with comments. Emoji reaction is recommended by GitHub.

Unfortunately, this issue still occurs if you are using a height with calc() =/

+1

I solved the problem by removing the flex-direction: column-reverse; from the scrollbar container

Was this page helpful?
0 / 5 - 0 ratings

Related issues

costea93 picture costea93  路  6Comments

hyperknot picture hyperknot  路  7Comments

eddieklc picture eddieklc  路  3Comments

MigFerreira picture MigFerreira  路  7Comments

gpluess picture gpluess  路  4Comments