-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add second section for modals and move away from absolute positionning #1715
Conversation
Your Render PR Server URL is https://files-ui-stage-pr-1715.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c64i9bjru51na3lbct60. |
Your Render PR Server URL is https://gaming-ui-stage-pr-1715.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c64i9c3ru51na3lbctng. |
Your Render PR Server URL is https://storage-ui-stage-pr-1715.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c64i9crru51na3lbcu10. |
packages/files-ui/src/Components/Modules/FileBrowsers/CreateOrEditSharedFolderModal.tsx
Outdated
Show resolved
Hide resolved
…EditSharedFolderModal.tsx
…po into fix/tbaut-modal-1664
packages/files-ui/src/Components/Modules/FileBrowsers/ReportFileModal.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, the |
I inspected all the modals on the list on the desktop without issue but noticed multiple problems on mobile (iOS) New issues:
create.share.cursor.positioning.MP4
upload.file.scrolling.MP4
Issues that also occur in prod Some issues are already present in prod so they are probably out of the scope here but I wanted to mention them first and then we can decide whether to create separate issues:
|
Thanks for the thorough review. Many issues here are actually also happening in prod. I'll try to fix some, but I don't want to keep this PR open forever and try to fix them all here. The potential to add some more breaking changes is high and I value small and to the point PRs rather than big catch-all.
But you can scroll to it right? I wonder if showing a cancel button all the time above the keyboard is the way to go. it takes quite some display real estate.
Can you please confirm this doesn't happen in prob?
That's also in prod. Applying a
This must happen in prod too. We have an issue related that could handle this as well #1720 and #1713
Thanks for finding all those. Would you mind creating issues for these. This PR breaks many things already for me to take care of everything here that's already broken :) |
Yeah, you can still scroll to it. I agree that we are already limited on available space and showing it limits it even more. I just wanted to mention it as it differed from prod behaviour.
Yep, I wasn't able to reproduce this on production but I also can't reproduce now either. Sorry for the red herring, might have been an issue between localhost and my phone
Nice, I'll check it out.
Ah yes you're right it's in prod. The issues you mentioned are for the "File Info" modal though (but similar fix probably). I created a separate issue for the "Report File" modal #1726.
Yep pre-existing ones are now separate issues #1727, #1728, #1729 Apologies for the myriad of things discussed at once in this PR. I just had to read it all back for my own sake/sanity 😅. TL;DR I think everything discussed here that is fixable we will address in another issue now (due to them being pre-existing). I can't recreate the weirdness with the mispositioned cursor or frozen input so they could have been edge cases that exist in production too. I'll continue to see if I can recreate those issues but they shouldn't hold up this change imo. |
closes #1664
I tested some modal such as the sharing explainer.
todo,test the following:
To test the 2nd section you can add the prop
subModal={<div>Some section here</div>}
to anyCustomModal
element, I did it in the following video for the Shared modal creation.Modal.mp4