Skip to content

Text not selectable #93

@chadallard

Description

@chadallard

Switching from react-json-view, one thing I noticed immediately is that I could no longer select text in the JSON viewer.
It seems there are now CSS properties that block this:

-webkit-user-select:none;
user-select:none;

These appear to be inherited from MuiPaper-root class.

Workaround I have found in the meantime is to manually override the style, which shouldn't be required:

.MuiPaper-root{
-webkit-user-select:text !important;
user-select:text !important;
}

Perhaps userSelect:"text" should be added as Mui theme override.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions