Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File select dialog doesn't display on mobile #281

Closed
1 of 7 tasks
admwx7 opened this issue Aug 31, 2018 · 2 comments
Closed
1 of 7 tasks

File select dialog doesn't display on mobile #281

admwx7 opened this issue Aug 31, 2018 · 2 comments

Comments

@admwx7
Copy link

admwx7 commented Aug 31, 2018

Description

A recent update started causing programmatic clicks on mobile and touch devices to stop working when Polymer is included in your web app, this is the core of upload in the browser and thus this element is now broken as well. I've implemented a workaround in my app, but as this has been an issue with 1.x and 2.x polymer for 2 months now and hasn't got a response from the team it's unlikely to be fixed. The issue and workaround are posted here: Polymer/polymer#5289

Expected outcome

Clicking the upload file button on mobile should give the file selection dialog

Actual outcome

Nothing happens

Live Demo

Oddly enough I couldn't recreate in jsfiddle. Was able to replicate without issues in a fresh index.html by just including the polymer library and nothing else.

Steps to reproduce

  1. Put a vaadin-upload element in the page.
  2. Use the console in chrome to change to mobile view
  3. Click the "Upload Files..." button.

Browsers Affected

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE 11
  • iOS Safari
  • Android Chrome
@web-padawan
Copy link
Member

Hi, have you tried the latest patch release published today? Check demos here: https://cdn.vaadin.com/vaadin-upload/4.0.1/demo/#upload-basic-demos

@admwx7
Copy link
Author

admwx7 commented Aug 31, 2018

Tracked down the issue yesterday, looks like you've got a fix in already, closing this issue then.

@admwx7 admwx7 closed this as completed Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants