LPology / Simple-Ajax-Uploader

Javascript file upload plugin with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.
995 stars 267 forks source link

input can't lay on fixed position element #163

Closed suhaotian closed 8 years ago

suhaotian commented 8 years ago

maybe give a option to set position to fixed or absolute ?

LPology commented 8 years ago

I'm not sure I understand the issue. What problem is being created?

suhaotian commented 8 years ago

@LPology I have a button on fixed position style container, like:

    <div class="container" style="position: fixed;bottom: 20px;right: 20px;">
        <button id="upload-btn">upload file</button>
    </div>
new ss.SimpleUpload({
  button: document.getElementById('upload-btn'),
  ...
})

Theproblem was click the button, but can't select file to upload.

suhaotian commented 8 years ago

I'm sorry, just now I test DOM with fixed style, It work. Thank for your patient 😄