-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Firefox <button> with ng-file-select doesn't work #298
Comments
The approach I am using is to add an input file inside the element, so the element needs to be able to contain an input file which is not the case for |
+1. I just got bit by this too. Maybe you could have the directive wrap the button inside a span and add the file input to the span automatically? |
+1, also ran into this issue. |
issue still there after the commit 6ea5480.
the file selection dialog doesn't show up after click. Works when I change the element though. |
This needs to be re-opened. Cheers |
Should be fixed at version 1.6.10 |
http://plnkr.co/edit/XqtcPMOd4mYxc2vujYaL
In Chrome 36.0.1985.125, both work
In Firefox 31.0, only the
<div>
worksMy workaround is to wrap the button with a span and attaching the directive to that.
The text was updated successfully, but these errors were encountered: