mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
Hide hidden FileReaderInput from keyboard focus
This commit is contained in:
@@ -144,7 +144,7 @@ class OpenModal extends React.Component {
|
||||
<section className="maputnik-modal-section">
|
||||
<h2>Upload Style</h2>
|
||||
<p>Upload a JSON style from your computer.</p>
|
||||
<FileReaderInput onChange={this.onUpload.bind(this)}>
|
||||
<FileReaderInput onChange={this.onUpload.bind(this)} tabIndex="-1">
|
||||
<Button className="maputnik-upload-button"><FileUploadIcon /> Upload</Button>
|
||||
</FileReaderInput>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user