Closed fohrloop closed 3 years ago
Seems that there is an input element that makes the screen wider.
For some reason, the component has finite width (src\lib\components\Upload_ReactComponent.react.js
):
style={{
'opacity': '0',
'width': '0.1px%',
'height': '0.1px%',
'position': 'absolute',
'overflow': 'hidden',
'zIndex': '-1',
}}
I don't know why the width is 0.1px%
. Maybe a typo? Putting the width and height to zero:
style={{
'opacity': '0',
'width': '0',
'height': '0',
'position': 'absolute',
'overflow': 'hidden',
'zIndex': '-1',
}}
Everything works as intended:
ref: https://community.plotly.com/t/how-to-show-a-progress-bar-for-uploading-a-file-using-dash-upload/48988/5
Expected outcome
Actual outcome
Code to reproduce