Open robyngit opened 3 years ago
While working on this issue, I realized that the menu has bugs on all of the themes, not just the default one. Here are the issues I found:
[ ] The menu sometimes disappears when switching from a small to a wider browser window (possibly related to issue #1189)
To reproduce:
[ ] The user menu is off centre, and in the ADC theme, half-hidden
[ ] The menu stays expanded when a link to a new page is clicked. I would expect that the menu should collapse after a selection is made.
I think that a number of these issues are related to trying to make Bootstrap's dropdown menu open and close on hover rather than on click (what it's designed for). I wonder if, rather than trying to fix each of these bugs, it might be easier to re-write the NavbarView
and templates to no longer use Bootstrap dropdown element, like the DataONE theme. Thoughts?
Thanks for writing this up and including all the screenshots, @robyngit! While I know some of our main page elements might take substantial work to make responsive, but I think it's important that at least our header, footer, and any navigation elements display well across devices. Simplifying/consolidating the header/nav across themes sounds like a really good move forward.
I see this is in the REview/QA column @robyngit - Is there a commit attached to this issue or is it in progress?
There aren't any commits for this issue yet, I put it on hold and in the Review/QA column because I wanted to get feedback on the best way forward to fixing these problems. (Also because I only just realized that the QA in Review/QA probably stands for Quality Assurance and not Questions & Answers...) I think it would be quicker to re-structure the NavbarView and templates rather than to try and fix the individual problems. When working on this, I found that trying to fix a problem in one theme led to new problems in other themes. Any thoughts on this?
Describe the bug On a small screen, the user profile menu sometimes appears outside of the minimal nav element, and above the portal editor content
To Reproduce Steps to reproduce the behavior:
Expected behavior The menu items should not overlap with page content, and should appear within the menu container
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information): The screenshot shows an example of the issue on a simulated Moto G4 device, but this issue happens on chrome desktop as well, when the browser is < 770px wide.