Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Uncaught Error Couldn't clear and hide the drag surface (#5759) #5760

Closed
wants to merge 1 commit into from
Closed

fix: Uncaught Error Couldn't clear and hide the drag surface (#5759) #5760

wants to merge 1 commit into from

Conversation

roveretoa
Copy link

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Issue #5758

Proposed Changes

Behavior Before Change

Drag workspace failed, mouse sticky with the interface and cannot detached.

Behavior After Change

Workspace can be dragged and dropped again normally.

Reason for Changes

This change prevents the resetDragSurface function being called twice and raising the exception.
It also maintains symmetry with the setupDragSurface function in terms of logic checks.

Test Coverage

Tested on:
Desktop Chrome

@google-cla google-cla bot added the cla: no Used by Google's CLA checker. label Dec 1, 2021
@roveretoa roveretoa closed this Dec 1, 2021
@roveretoa roveretoa deleted the drag_issue_with_iframe branch December 1, 2021 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: no Used by Google's CLA checker.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant