alexboia / WP-Trip-Summary

A WordPress trip summary plugin to help travel bloggers manage and display structured information about their train rides and biking or hiking trips
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Track uploader does not open on Microsoft Edge #64

Closed alexboia closed 4 years ago

alexboia commented 4 years ago

Describe the bug The track uploader does not open when attempting to upload a track using the Microsoft Edge browser: clicking the Chose file button does not open the file browser. No error is produced in the console.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Edit trip summary' -> 'Map'
  2. Click on the upload button
  3. See how nothing happens.

Expected behavior The file browser must open.

Desktop (please complete the following information):

Additional context WordPress's media uploader exhibits the same behaviour. Seems to be related to this issue: https://github.com/moxiecode/plupload/issues/1343

alexboia commented 4 years ago

Calling .refresh(), as suggested in the reference issue, didn't work either and, besides, we're initializing the uploader AFTER the elements are CONSTRUCTED and SHOWN. However, simulating manual click DOES work, so we're stuck with this for now.