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

IE 11 clipboardData is undefined #1212

Closed
moneytree-doug opened this issue Dec 18, 2015 · 5 comments
Closed

IE 11 clipboardData is undefined #1212

moneytree-doug opened this issue Dec 18, 2015 · 5 comments

Comments

@moneytree-doug
Copy link

I believe IE has the clipboardData in the window, so it throws an error when trying to find it on the event.

@danialfarid
Copy link
Owner

What are the steps to reproduce?

@danialfarid
Copy link
Owner

Should probably be fixed at 11.2.0

@aeslinger0
Copy link

This is still an issue in 12.0.4. Steps to reproduce are just trying to paste text into an input that is wrapped in a div that has this directive on it. evt.clipboardData and evt.originalEvent are both undefined.
image

@danialfarid
Copy link
Owner

@aeslinger0 try with the latest version.

@aeslinger0
Copy link

@danialfarid This is still a problem in version 12.2.13. I think it's now line 1969 that is the problem:

extractFilesAndUpdateModel(evt.clipboardData || evt.originalEvent.clipboardData, evt, 'pasteUrl');

I think adding || window.clipboardData as another fallback should fix it. My coworker will be submitting a PR with a fix. Please keep an eye out for it.

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

No branches or pull requests

3 participants