Skip to content

Click+drag on tab causes synced tabs to go out of sync #46

Description

@kandersolar

Describe the problem

Tab syncing seems to not work if the activating click is actually a click+drag. A picture is worth 1000 words; here I am highlighting text to make the click+drag more visible:

vokoscreenNG-2021-12-05_19-55-52

So the other tab switches when I release the mouse button at the end of the highlight, but the tab I am highlighting does not switch. I'd expect the tabs to switch simultaneously, as they do when using a normal click (not a click+drag).

Link to your repository or website

https://sphinx-design.readthedocs.io/en/furo-theme/tabs.html#synchronised-tabs

Steps to reproduce

  1. Go to https://sphinx-design.readthedocs.io/en/furo-theme/tabs.html#synchronised-tabs
  2. Click+drag on one of the non-activated tabs.
  3. The other tab will switch, but the one you dragged on won't.

The version of Python you're using

N/A

Your operating system

Firefox on Debian

Versions of your packages

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions