Skip to content

The resizable pane for PageLayout is triggered by right click #3992

Description

@joshblack

Description

When going through the updates to the Page layout pane for resizable panes, I noticed that both the existing implementation and the updated one responded to a right click as a click event which caused the resize handle to unintentionally stick to the cursor.

Steps to reproduce

  1. Visit the storybook: https://primer.style/react/storybook/?path=/story/components-pagelayout-features--resizable-pane
  2. Right click on the resizable pane
  3. Dismiss the context menu and move the mouse around to observe the issue
Screen.Recording.2023-11-30.at.10.15.18.AM.mov

Version

v36.2.0

Browser

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions