openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

UploadSet on Surface Tablet not same behaviour as on iPad

Open flotxi opened this issue 2 years ago • 1 comments

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 2. 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

flotxi avatar Apr 29 '24 08:04 flotxi

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)

PetyaMarkovaBogdanova avatar Apr 29 '24 11:04 PetyaMarkovaBogdanova