Skip to content

Multiple panels with tracy-focused class #316

Description

@adrianbj

Version: 2.5.2

Bug Description

Not sure if this is expected behavior, but it seems that once a panel has been focused, it never loses the tracy-focused class when other panels are clicked, bringing them to the top of the stack. A panel has to be closed to lose the class.

Steps To Reproduce

Open more than one panel and click on one and then the other so that they are focused and their z-index adjusted so that they are on top. Look at the inspector and notice that tracy-focused is not removed.

Expected Behavior

Only one panel at a time should have the tracy-focused class.

Possible Solution

Adjust the bar.js blur() method to remove the if (this.is(Panel.PEEK)) { conditional.
Is there a reason for this condition?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions