Skip to content

Bug - Node labels - Selection bug in v6 docs workspace #296

@jenny-s51

Description

@jenny-s51

Describe the problem
A clear and concise description of the problem. Which components are affected?

Follow up to #295 - this was out of scope there but I noticed a regression, when we select a node via the label and leave the cursor in the label, the label does not get the "selected" background color state until you move the cursor outside of the node.

Selected state (with cursor still in label):
Image

Selected, cursor moved out of label:
Image

Looks like this was working correctly in our v4 workspace but a regression snuck in along the way.

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

https://www.patternfly.org/topology/selection

Click on a label and don't move the mouse away. Then navigate away from it and you will see the correct label coloring.

Expected behavior
A clear and concise description of the expected behavior.
https://v4-archive.patternfly.org/v4/topology/selection

Can also go to Topology Package in demo-app to reproduce expected behavior when selecting via label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions