Skip to content

fix(drag-drop): return up-to-date position if getFreeDragPosition is called while dragging - #16464

Merged
jelbourn merged 1 commit into
angular:masterfrom
crisbeto:drag-drop-current-free-drag-position
Jul 9, 2019
Merged

fix(drag-drop): return up-to-date position if getFreeDragPosition is called while dragging#16464
jelbourn merged 1 commit into
angular:masterfrom
crisbeto:drag-drop-current-free-drag-position

Conversation

@crisbeto

@crisbeto crisbeto commented Jul 5, 2019

Copy link
Copy Markdown
Member

Currently return the passive position when the consumer calls getFreeDragPosition, however the it only gets updated once the user has stopped dragging which means that calling it mid-drag will return incorrect values. These changes make it so the active drag position is returned while dragging.

…called while dragging

Currently return the passive position when the consumer calls `getFreeDragPosition`, however the it only gets updated once the user has stopped dragging which means that calling it mid-drag will return incorrect values. These changes make it so the active drag position is returned while dragging.
@crisbeto crisbeto added 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 labels Jul 5, 2019
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 5, 2019

@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 pr: lgtm action: merge The PR is ready for merge by the caretaker labels Jul 8, 2019
@jelbourn
jelbourn merged commit 1540391 into angular:master Jul 9, 2019
@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 Sep 11, 2019
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants