Closed w-gr closed 7 years ago
Set height/max-height using CSS classes, not IDs, because custom scrollbar duplicate element, and ID should be unique per page.
@gromo the same issue with HTML tags like fieldset. Is it possible to fix this issue not using a class?
Why not CSS classes? They are designed to be used for this purpose. Add new additional unique class to your container and that's all.
@gromo Much appreciated. I think it would be better to add this: only using unique class to control the height to document. Thanks a lot.
The new version of scrollbar 0.2.11 doesn't work if I set the height not using class, like ID in the example. I find a way to fix this issue is set the height to empty of cssOptions.
It worked well before version 0.2.8.