FileUploader breaks Modal's UI when clicked
See original GitHub issueWhat package(s) are you using?
-
carbon-components
- [x ]
carbon-components-react
Detailed description
Describe in detail the issue you’re having.
I want to have a fileuploader inside a modal window. The problem is that when I click on fileuploader the modal’s UI breaks by shifting to the top and disabling scrolling.
Is this issue related to a specific component?
Yes, Modal and FileUploader
What did you expect to happen? What happened instead? What would you like to see changed?
I expected for the modal to keep the same layout, but when FileUploader is pressed it moves up the whole modal content suddenly.
What browser are you working in?
Chrome
Additional information
Screenshots:
before clicking on fileuploader:
after clicking on fileuploader (right after dismissing the window that lets me pick the files to upload):
What can it be? Any suggestion? Anyone ever had this problem?
Thanks for your time!!!
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Thanks for letting me know! Good Job guys! 💪💪💪💪💪💪💪
Hey there @bitfede! Looks like this was resolved in the latest release
7.28.0
/10.28.0
(via https://github.com/carbon-design-system/carbon/pull/7698)Updated example: https://codesandbox.io/s/modest-buck-81lj0?file=/index.js