Skip to content

Conversation

@joshblack
Copy link
Member

Closes #3992

Changelog

New

Changed

  • Update onMouseDown in the vertical resize handler to only start dragging if the "main" mouse button is active during the event

Removed

Rollout strategy

  • Patch release

Testing & Reviewing

  • Verify that the resizable pane no longer fires when right click is used before dragging

@joshblack joshblack requested review from a team and pksjce December 5, 2023 17:50
@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2023

🦋 Changeset detected

Latest commit: 705ab50

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 104.24 KB (+0.01% 🔺)
dist/browser.umd.js 104.76 KB (+0.01% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-4022 December 5, 2023 17:55 Inactive
Copy link
Contributor

@pksjce pksjce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix 👍

@joshblack joshblack added this pull request to the merge queue Dec 5, 2023
Merged via the queue into main with commit 98ad320 Dec 5, 2023
@joshblack joshblack deleted the fix/update-page-layout-to-only-respond-on-left-click branch December 5, 2023 22:36
@primer primer bot mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The resizable pane for PageLayout is triggered by right click

3 participants