SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.9k stars 1.23k forks source link

UploadSet on Surface Tablet not same behaviour as on iPad #4036

Closed flotxi closed 2 months ago

flotxi commented 2 months ago

OpenUI5 version: 1.122.1

Browser/version (+device/version): All

URL (minimal example if possible): https://sapui5.hana.ondemand.com/#/entity/sap.m.upload.UploadSet/sample/sap.m.sample.UploadSet

Steps to reproduce the problem: 1.Open the example on iPad

  1. click to upload an attachment

What is the expected result? I expected to see the same small dialog on the Surface Tablet as on an iPad to either take a picture or access my filesystem.

What happens instead? It directly opens the filesystem without asking to take a picture.

Any other information? (attach screenshot if possible) image

PetyaMarkovaBogdanova commented 2 months ago

Hi @flotxi this is the default behaviour of input type file, which is handled by different kinds of browsers and OS-s differently. You can check it out using this simple sample. Unfortunately from UI5 side we do not have control to prevent it. Thank you for your submission! Best regards, Petya Markova. (UI5 Dispatcher)