Skip to content

Is there any way to use max-height property for scrollbar? #481

@sureshsumtotal

Description

@sureshsumtotal

I'm using the react-scrollbars-custom library for my application's navigation menu. The menu height changes dynamically based on the content, but I want the scrollbar to appear only after reaching a certain maximum height. However, I couldn't find support for the max-height property. When I set the height dynamically for the scrollbar component, I notice a flickering issue where the scrollbar briefly appears and then disappears for smaller containers. Could you suggest a way to implement the max-height property for the scrollbar component without causing any flickering issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions