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 up link dnd behavior under safari #3172

Merged
merged 1 commit into from Jul 1, 2020
Merged

Fix up link dnd behavior under safari #3172

merged 1 commit into from Jul 1, 2020

Conversation

cbeer
Copy link
Collaborator

@cbeer cbeer commented Jun 29, 2020

It looks like Safari turns URL drag and drops into both a file and a url and ends up down the wrong path in react-dnd. This little safari-only hack gets it back on the right path.

@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2020

Codecov Report

Merging #3172 into master will decrease coverage by 0.17%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3172      +/-   ##
==========================================
- Coverage   90.66%   90.49%   -0.18%     
==========================================
  Files         187      187              
  Lines        3108     3114       +6     
==========================================
  Hits         2818     2818              
- Misses        290      296       +6     
Impacted Files Coverage Δ
src/components/IIIFDropTarget.js 70.45% <0.00%> (-11.13%) ⬇️

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 c954f14...0a631d3. Read the comment docs.

@mejackreed mejackreed merged commit 0f136cc into master Jul 1, 2020
@mejackreed mejackreed deleted the link-dnd branch July 1, 2020 13:03
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.

None yet

3 participants