-
Notifications
You must be signed in to change notification settings - Fork 381
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
Grid View Modal #4153
Grid View Modal #4153
Conversation
6a51625
to
9986656
Compare
a1b87c2
to
23256dc
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
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.
Looks good and works well, left some minor comments (in addition to the mentioned SVG-s not being visible when zooming to 80% and the dropzone highlighting not being in the middle)
@miina Any suggestion for the dropzone highlighting? I think for true responsiveness we have to use grids here, which makes using a pseudo element a bit unreliable due to unknown width of the gaps. |
In this case, isn't the I'm not sure though, what did you have in mind? |
Right, yeah |
Seems to work well. The only thing I'm noticing now is that the highlights seem to be lagging on the grid view, can you also see that? Looking at the code then it seems like the issue is coming from E.g. adding this removes the lagging:
Although the issue doesn't come from this PR, would you mind adjusting this here, too? |
Sure thing, done! Definitely improves things. |
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.
LGTM
Summary
Implements the reorder grid view using
react-modal
.It is still a bit rough and needs some polishing, but generally works.
Fixes #3836.
Checklist