Skip to content

When "focus selected", exiting single click-focused sequence with Esc keeps focus on single sequence #2011

Description

@corneliusroemer

When the "Focus on selected" toggle is ON, and one clicks on a single sequence to focus it and then hits the Escape key to defocus the sequence, the modal disappears but the focus remains on the single (previously focused) sequence in disagreement with actual filters

How to reproduce

  1. Toggle on "Focus on selected"
  2. Click on a single sequence/tip with mouse
  3. Hit Escape key
  4. Observe results

Current behavior

Focus is as if one had filtered for the sequence one had clicked before

Expected behavior

Focus is back to how it was before clicking on the single sequence/tip

Your environment: if running Nextstrain locally

  • Operating system: macOS
  • Browser: Chrome
  • Version (e.g. auspice 2.7.0): Auspice v2.66.0

Image

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions