Skip to content

fix(column-resize): don't allow dragging using the right mouse button - #18758

Merged
mmalerba merged 1 commit into
angular:masterfrom
crisbeto:column-resize-right-button
Mar 9, 2020
Merged

mmalerba merged 1 commit into
angular:masterfrom
crisbeto:column-resize-right-button

Conversation

@crisbeto

@crisbeto crisbeto commented Mar 8, 2020

Copy link
Copy Markdown
Member

The column resize component allows any mousedown to start the drag sequence, including using the right button which can look weird since the context menu will be triggered as soon as they let go. These changes limit the dragging only to the left button, similarly to what we're doing in other places.

The column resize component allows any `mousedown` to start the drag sequence, including using the right button which can look weird since the context menu will be triggered as soon as they let go. These changes limit the dragging only to the left button, similarly to what we're doing in other places.
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent merge safe target: patch This PR is targeted for the next patch release labels Mar 8, 2020
@crisbeto
crisbeto requested a review from andrewseguin as a code owner March 8, 2020 18:02
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 8, 2020
@jelbourn
jelbourn requested a review from kseamon March 9, 2020 19:44

@jelbourn jelbourn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added lgtm action: merge The PR is ready for merge by the caretaker labels Mar 9, 2020
@mmalerba
mmalerba merged commit c538354 into angular:master Mar 9, 2020
mmalerba pushed a commit that referenced this pull request Mar 10, 2020
The column resize component allows any `mousedown` to start the drag sequence, including using the right button which can look weird since the context menu will be triggered as soon as they let go. These changes limit the dragging only to the left button, similarly to what we're doing in other places.
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release

4 participants