Skip to content

Horizontal scrollbar is always visible when lineNumbers is true #6

@abutalebi

Description

@abutalebi

I use prism-react-editor in my NextJS app.
If I set the lineNumbers flag to true, then the horizontal scrollbar is always visible.
When the lineNumbers flag is false, the editor shows the horizontal scrollbar when necessary.
This behaviour will not change if wordWrap is true or false.
Is it possible to make the horizontal scrollbar appear only when needed while lineNumbers is enabled?

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