-
Notifications
You must be signed in to change notification settings - Fork 4.2k
st.file_uploader() opens camera in android phone #1537
Copy link
Copy link
Labels
area:mobileRelated to mobile device supportRelated to mobile device supportfeature:st.file_uploaderRelated to the `st.file_uploader` widgetRelated to the `st.file_uploader` widgettype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Summary
I have hosted an app here https://wexda.herokuapp.com/ When I access it via android phone, it open the camera when I click file uploader.
Steps to reproduce
Go to https://wexda.herokuapp.com/ from an android phone and click on the browse file link
Expected behavior:
Open phone's file browser to upload csv file
Actual behavior:
I expected it to open the file browser. In some phone, it open the choice of application to open, camera is also listed along with file browser. In some cases, without option, it directly opens the camera. It should directly open the file browser in android. Camera shouldn't even come in the option.
Is this a regression?
no
Debug info
- Streamlit version: 0.61.0
- Python version: 3.7.6
- Using Conda? PipEnv
- OS version: Ubuntu 19.10 (Eoan Ermine)
- Browser version: Android Chrome 83.0.4103.96
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:mobileRelated to mobile device supportRelated to mobile device supportfeature:st.file_uploaderRelated to the `st.file_uploader` widgetRelated to the `st.file_uploader` widgettype:bugSomething isn't working as expectedSomething isn't working as expected