Closed lakhanmandloi closed 6 years ago
FWIW: there is a newer version of the menu based on @coolcat-creations designs that me and @ciar4n try to implement: https://codepen.io/dgrammatiko/pen/jzLGaG
In that sense almost all the code for the current menu is dropped
Will this new design also be sticky?
@dgrammatiko np. do let me know if i can contribute there. :)
Considering this PR applies to the sidebar wrapper rather than the menu, it is still a valid improvement regardless of what is decided with the menu.
Will this new design also be sticky?
@coolcat-creations @svom ?
@lakhanmandloi you can fork that code pen and do any changes. The reason me and @ciar4n are using codepen.io for initial implementations is because it's easier to collaborate and showcase ideas and also it's the only way to ask for an accessibility audit before we even go and create a PR.
Considering this PR applies to the sidebar wrapper rather than the menu, it is still a valid improvement regardless of what is decided with the menu.
Agree. I think we can merge this pr. New menu can come later in another pr.
you can fork that code pen and do any changes. The reason me and @ciar4n are using codepen.io for initial implementations is because it's easier to collaborate and showcase ideas and also it's the only way to ask for an accessibility audit before we even go and create a PR.
Agree. actually that's nice idea to showcase before creating pr. :+1: . I will leave new menu up-to you guys and shift on to other pending issues so that we can get stable j4 as early as possible.
Thank you :)
Sorry for the late answer. I think that the sidebar should be fixed, otherwise it can be very confusing on longer pages and it also looks kind of weird, if there's so much whitespace on the leftl
+1 for fixed ;) Not only because it might look weird... It's kind of a "dock". Items should be always at the expected place while working.
I'm gonna merge this... thank you @lakhanmandloi 👍
There is now an issue where 2nd level menu items are inaccessible if they extend beyond the viewport but we can examine this further once the menu structure is decided.
Pull Request for Issue #411 .
Summary of Changes
Sidebar menu should stay sticky after scrolling down the page.
Before Fix sidebar used to scroll up with the page
After fix - before the page is scrolled down
After fix - after the page is scrolled down the menu should stick
After fix - scrollbar if the no. of menu-items goes beyond the space available then scrollbar should be added.
Testing Instructions
Expected result
Sidebar menu should be easily accessible even after scrolling & toggling.
Actual result
Sidebar menu should be easily accessible even after scrolling & toggling.
Documentation Changes Required - No