- Merge request !1073issue #3191727: Focus states on mobile second level navigation items fixed → (Open) created by Unnamed author
- 🇨🇦Canada mgifford Ottawa, Ontario
- 🇮🇳India Santosh_Verma
I am addressing the comment #19 in this patch, I have made the necessary adjustment to the padding by changing it from var(--sp0-5) to var(--sp0-25), which is the smallest value available. This change successfully resolved the issue related to the “Focus states on mobile second level.” attaching the patch and inderdiff.
I attempted to create a merge request but encountered an error on my local machine. As a workaround, I am creating a patch file in the hopes that this solution will be helpful.
- Status changed to Needs review
over 1 year ago 11:36am 5 June 2023 - last update
over 1 year ago 29,416 pass - Status changed to Needs work
over 1 year ago 12:57pm 5 June 2023 - 🇺🇸United States smustgrave
Issue summary should be updated with proposed solution.
Also as UI change before/after screenshots should be added.
- 🇮🇳India Harish1688 India
1. Update the issue summary with proposed solution,
2. I have tested patch #26 and it is working fine. As requested in #28, I am attaching a screenshot for reference.Before
After
RTBC +1
- Status changed to Needs review
over 1 year ago 6:42am 15 June 2023 - Status changed to Needs work
over 1 year ago 1:59pm 15 June 2023 - Status changed to Needs review
over 1 year ago 5:27am 16 June 2023 - 🇮🇳India Harish1688 India
strange, I have checked the images on others system, it's visible on some and breaks on some.
so updated the images again.Images:
3191727 after patch 26.png
3191727 before patch 26.png - Status changed to RTBC
over 1 year ago 12:16am 19 June 2023 - 🇺🇸United States smustgrave
Issue appears to have been resolved. Updated issue summary.
- last update
over 1 year ago 29,499 pass - Status changed to Needs work
over 1 year ago 1:44pm 20 June 2023 - 🇺🇸United States mherchel Gainesville, FL, US
This patch works by adding a bit of vertical padding to the mobile menu, which makes room for the focus outline. This slightly changes the design, but I think this is okay (no one's going to notice).
Code-wise, it's creating a duplicate selector, though. The rule should be placed within the existing
.primary-nav__menu--level-2
block around line 153 ofnav-primary.pcss.css
.Other than that its a straightforward fix.
- 🇮🇳India Santosh_Verma
Addressing the comment #36, and created a patch along with interdiff. No additional screenshots are being added as they are the same as the ones uploaded in comment #33.
- Status changed to Needs review
over 1 year ago 11:56am 21 June 2023 - last update
over 1 year ago 29,505 pass - Status changed to RTBC
over 1 year ago 3:57pm 21 June 2023 - last update
over 1 year ago 29,551 pass - last update
over 1 year ago 29,553 pass - last update
over 1 year ago 29,559 pass - last update
over 1 year ago 29,567 pass - last update
over 1 year ago 29,571 pass - Status changed to Needs work
over 1 year ago 2:54pm 3 July 2023 - 🇫🇮Finland lauriii Finland
It looks like the padding breaks the close animation. There's a blue border visible during the animation:
- 🇮🇳India Santosh_Verma
In this patch, I have addressed the comment #42 by adjusting the styling. The issue was that the padding on the ul(primary-nav__menu--level-2) element was causing the animation to break. To fix this, I have removed the padding from the ul(primary-nav__menu--level-2) and instead added padding to the first and last child of the second level items (primary-nav__menu-item--level-2). This solution addresses both the problem of focus cut off and the animation breaking.
- Status changed to Needs review
over 1 year ago 8:09am 4 July 2023 - last update
over 1 year ago 29,801 pass - Status changed to RTBC
over 1 year ago 2:02pm 5 July 2023 - 🇺🇸United States smustgrave
Can confirm I'm also seeing the results from #44 applying the patch.
- last update
over 1 year ago 29,801 pass - last update
over 1 year ago 29,802 pass - last update
over 1 year ago 29,804 pass - last update
over 1 year ago 29,811 pass - last update
over 1 year ago 29,814 pass - last update
over 1 year ago 29,815 pass - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - last update
over 1 year ago 29,823 pass, 1 fail The last submitted patch, 44: 3191727-44.patch, failed testing. View results →
- Assigned to chetansonawane
- 🇮🇳India chetansonawane Gujarat
I checked the same patch #44 it is working fine with php 8.3, Drupal 11 requires PHP 8.3.
- Issue was unassigned.
- Status changed to RTBC
8 months ago 11:35am 30 April 2024 - Status changed to Needs work
8 months ago 11:26pm 4 May 2024 - 🇫🇷France nod_ Lille
RTBC looks fine, Can I get the changes in a MR please? Thanks!
- First commit to issue fork.
- Merge request !7936issue #3191727: Focus states on mobile second level navigation items fixed → (Closed) created by Unnamed author
- Status changed to Needs review
8 months ago 6:50am 7 May 2024 - Status changed to RTBC
8 months ago 2:52pm 7 May 2024 - 🇫🇷France nod_ Lille
Committed and pushed 924d567aac to 11.x and 1e0296d353 to 11.0.x and 4c8f3371e4 to 10.4.x and 57e4625a18 to 10.3.x. Thanks!
- Status changed to Fixed
8 months ago 9:29pm 8 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.