question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

safari 10.1: File dialog not open by onClick event

See original GitHub issue

Do you want to request a feature or report a bug?

  • I found a bug
  • I want to propose a feature

What is the current behavior? By clicking the dropzone on Safari 10.1, the select file dialog not open. If the current behavior is a bug, please provide the steps to reproduce.

  1. click on the dropzone on Safari 10.1

What is the expected behavior? File dialog opens

I think it’s related to this: style: { display: 'none' }. Is it better to remove it and add a parent with this style to it?

.hiddenParent {
 width: 0px;
 height: 0px;
 overflow: hidden;
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

2reactions
pdomalecznycommented, Jan 12, 2018

Hey, I am also having this issue on Safari 10.X version. Despite that it works on all browsers. I am using react-dropzone with 4.2.0 version

0reactions
stale[bot]commented, May 26, 2018

This issue has been automatically marked as stale because it has not had recent activity in the past 60 days. It will be closed if no further activity occurs. If the problem persists please comment here to bump your issue. Thank You - React Dropzone Maintaners

Read more comments on GitHub >

github_iconTop Results From Across the Web

File input javascript click not working in Safari - Stack Overflow
I'm trying to programmatically open a file input from javascript and it's not working in Safari (13.0.5). This file input is not hidden...
Read more >
Safari not opening "upload file" pop up w… - Apple Community
When I try to upload a file to a website, Safari won't open the pop up window to allow me to browse my...
Read more >
Window - Web APIs - MDN Web Docs - Mozilla
desktop desktop Chrome Edge Window Full support. Chrome1. Toggle history Full support. Edge12. To... DOMContentLoaded event Full support. Chrome1. Toggle history Full support. Edge12. To...
Read more >
RoboForm for Mac Version News
Fixed Login dialog shown on Safari start when RoboForm is not running. ... Fixed Safari extension does not work on Mac OS 10.10...
Read more >
Configure your browser for Figma
You can use Figma on Chrome, Safari, Microsoft Edge and Firefox ... You can change your keyboard layout from any open file. Your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found