Skip to content

fix(drag): style assignment for dragged element on IE #33

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

Merged
merged 1 commit into from
Jun 5, 2018

Conversation

dwknippers
Copy link
Contributor

@dwknippers dwknippers commented May 24, 2018

Apparently setting a style property to null doesn't actually remove it in IE11.
Tested with the latest versions of IE, Chrome and Firefox.

Apparently known, but still occurring:
angular/angular#7916

This also fixes the similar issue with angular-calendar, allowing it to be used normally with draggable events in IE.

Fixes https://github.com/mattlewis92/angular-draggable-droppable/issues/29

@codecov-io
Copy link

codecov-io commented May 24, 2018

Codecov Report

Merging #33 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #33   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         195    195           
  Branches       19     19           
=====================================
  Hits          195    195
Impacted Files Coverage Δ
src/draggable.directive.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1768f7...f3d16cf. Read the comment docs.

@dwknippers dwknippers closed this May 24, 2018
@dwknippers dwknippers reopened this May 25, 2018
@dwknippers dwknippers closed this May 28, 2018
@dwknippers dwknippers reopened this May 28, 2018
@mattlewis92 mattlewis92 merged commit d0372ec into mattlewis92:master Jun 5, 2018
@mattlewis92
Copy link
Owner

Awesome, thanks! 😄

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.

IE11 - After drop, element does not reset back to original position and cannot be dragger further
3 participants