Skip to content

Horizontal scrollbar is always visible when lineNumbers is true #6

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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