-
Notifications
You must be signed in to change notification settings - Fork 18
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
Ensure only bordering areas of app are draggable #82
Conversation
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! 🚀
I observed that:
- The targeted bordering areas of the app were draggable
- Layout issues were not introduced (including checking RTL layouts)
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.
The changes look good to me. I confirm that I saw the region around app borders was draggable along with the sidebar 👍 Nice work!
@SiobhyB I still can't make it work. I marked areas that are draggable for me, and used arrow to show the one that doesn't work: |
Actually, I re-tested it and confirm that I see the same thing as Wojtek for the left side of the sidebar. All the other areas seem to work as expected for me. |
As per the feedback here, the left border of the app wasn't draggable when multiple sites were listed in the sidebar: #82 (comment) This commit addresses that.
@wojtekn, thanks for the screenshot! I had been testing with only one local site, which is why I wasn't experiencing the issue with the left border not being draggable, I've been able to reproduce what you're seeing after adding a long list of sites. I've addressed this in 0db7235. Let me know if that resolves what you're seeing! @fluiddot, would you be able to verify this doesn't result in any unwanted layout shifts in Windows, too? I'd be grateful for the testing as this latest change involves different margins for Windows. 🙇♀️ |
@wojtekn, I wasn't able to reproduce that issue with the latest changes. Here's what I'm seeing: Screen.Recording.2024-05-07.at.09.58.03.movAre you still able to reproduce? |
Thanks, it works well now - I can use left border to drag, too.
I can reproduce it in the trunk, but this branch fixes that. |
Sure, I'm going to test it and report back. |
@SiobhyB I've tested the PR on Windows and haven't noticed any changes in the layout. Additionally, I tested the draggable regions and confirmed it works as described in the PR 🎊 . |
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.
👋🏻 @SiobhyB I noticed these changes slightly crop the focus outline style for the sites navigation. Would you be willing to explore if this is straightforward to rectify please? 🙇🏻
Before | After |
---|---|
Related to 6805-gh-Automattic/dotcom-forge#issuecomment-2089930508
Proposed Changes
Testing Instructions
Verify only bordering areas of the app are draggable
Ensure no changes to layout
As this PR tweaks some of the CSS used in the app's main content area, we should also verify that there are no unwanted changes to the app's general layout:
Pre-merge Checklist