- Status changed to Needs review
over 1 year ago 12:13pm 26 June 2023 - last update
over 1 year ago 29,554 pass - 🇮🇳India suresh prabhu parkala Bangalore
Re-rolled the patch. Please review.
- Status changed to Needs work
over 1 year ago 3:18pm 26 June 2023 - 🇺🇸United States smustgrave
Issue summary needs to be updated with proposed solution (if still an issue)
Also #2 still cleanly applied to 11.x.
- 🇷🇴Romania amateescu
It's definitely still an issue, I just closed 🐛 After closing workspaces dialog the vertical admin toolbar is displayed on top of workspaces interface Closed: duplicate as a duplicate of this one.
- 🇮🇳India gauravvvv Delhi, India
This is still happening after the patch #2, as well. please see screenshot for reference
- Merge request !8380Issue #2985324: The position of the toolbar moves above the off-canvas top... → (Open) created by Unnamed author
- 🇮🇳India gauravvvv Delhi, India
Earlier, `settings.drupalOffCanvasPosition` was undefined on the second dialog open. I have updated it. However, it is still calculating the height of the off-canvas incorrectly, which needs to be fixed. I am leaving this to NW.
- Status changed to Needs review
6 months ago 3:32am 13 June 2024 - 🇮🇳India gauravvvv Delhi, India
I have added after merge request screenrecording for reference, please review
- Status changed to Needs work
6 months ago 9:22am 14 June 2024 - 🇮🇳India Kanchan Bhogade
I've tested MR 8330 On Drupal 11.x
MR is applied cleanlyThe toolbar position issue is resolved; however, if the off-canvas is closed using the cross icon, the toolbar position remains unchanged and the page scrolls to the top.
Adding Screen recording for referenceAlso as per issue Summary MR is "Open failed pipeline"
Moving to "Needs work"
- First commit to issue fork.
this commit fixes the problem mentioned in #23 🐛 The position of the toolbar moves above the off-canvas top dialog if a modal dialog is opened Needs work .
- Status changed to Needs review
6 months ago 9:11am 19 June 2024 - 🇮🇳India Kanchan Bhogade
I've tested Updated MR 8330 On Drupal 11.x
MR is applied cleanly"The off-canvas is closed using the cross icon, the toolbar position remains unchanged and the page scrolls to the top" issue resolved.
Adding Screen recording for referenceRTBC+1
- 🇺🇸United States smustgrave
Not sure this one that can get tests or is large enough for them so will remove that tag, any disagrees please add back.
Will tag for an after screenshot to be added though
- Status changed to Needs work
6 months ago 2:08am 11 July 2024 - 🇺🇸United States bnjmnm Ann Arbor, MI
The current MR seems like quite a bit of height-calculating logic with several new mutable variables in play. I wonder if this can be done simpler.
The toolbar moves because of the margin reset in toolbar.js
if (toolbarBar) { toolbarBar.style.marginTop = '0';
// etc...
Perhaps a solution that doesn't apply the reset when a top off-canvas exists would take care of it?
if (toolbarBar) { if (<NO TOP OFF-CANVAS>) { toolbarBar.style.marginTop = '0';
}
// etc...
This would also be reasonably easy to add as a test inside
\Drupal\Tests\system\FunctionalJavascript\OffCanvasTest
, and the toolbar doesn't even have to be present - just an element with the idtoolbar-bar
that you can check the margin-top of. The if condition that i added is just opposite of what's mentioned in #31 but still it work.I will try to deep dive more into that.
- Status changed to Needs review
5 months ago 5:21am 15 July 2024 - Status changed to Needs work
4 months ago 7:13pm 14 August 2024 - 🇺🇸United States bnjmnm Ann Arbor, MI