Skip to content

ObjectPreview should be used in place of ObjectLabel #95

@jcready

Description

@jcready

Collapsed nested objects/arrays in Chrome's devtools show the preview of the value not just Object or Array, upon expansion the preview goes away for objects, but not for arrays.

react-inspector

The preview also prevents line-wrapping using the following CSS:

TreeNode {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

I would love to be able to customize these things to suit my needs, but none of these things are configurable do to the way things are encapsulated. So for now this is simply a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions