meshery.io
meshery.io copied to clipboard
Issue #822 fixed: Navbar dropdowm multiple link selection problem.
Signed-off-by: Krishna Gupta [email protected]
Description Now both can't be selected at the same time because whenever someone points the cursor to the first dropdown the pointer events of the second dropdown will be set to none.
This PR fixes #822
Notes for Reviewers
Signed commits
- [x] Yes, I signed my commits.
Deploy Preview for mesheryio-preview ready!
Name | Link |
---|---|
Latest commit | aa8608eb62a897a61695c3670ea6e8b5ce1d99c8 |
Latest deploy log | https://app.netlify.com/sites/mesheryio-preview/deploys/6382908843091100090ff6e9 |
Deploy Preview | https://deploy-preview-856--mesheryio-preview.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
@legendarykamal @leecalcote I think the issue was, that we can hover over multiple dropdowns at the same time. If it needs to fix for overlapping then we need to add some extra spaces between the links.
@legendarykamal @leecalcote I think the issue was, that we can hover over multiple dropdowns at the same time. If it needs to fix for overlapping then we need to add some extra spaces between the links.
I beg to differ. Separating with space is just a work-around the root issue and is admitting defeat on what is a relatively simple challenge.
it's just a bit 'o CSS needed here.
@leecalcote I thought the issue was that we can jump to the other dropdown if it was open. Is this ok? https://user-images.githubusercontent.com/85894871/193937934-b404c21f-0214-40b4-959c-41ee391ee7c7.mp4
@Krishna2323 yes, you're right regarding the issue. I see that, yes, in your .mp4 that while both menus are visible concurrently, they do not overlap. Yes, that'll work.
Here is the experience that I see on https://deploy-preview-856--mesheryio-preview.netlify.app/ using Safari:
https://user-images.githubusercontent.com/7570704/193938472-f641cea1-dbe5-45a2-ae6e-1f578d9c74f6.mov
Here is the experience that I see on https://deploy-preview-856--mesheryio-preview.netlify.app/ using Chrome:
https://user-images.githubusercontent.com/7570704/193938563-39e3604c-d9ea-41b8-a0ba-0c5945be8757.mov
@leecalcote pls review this one.
@Krishna2323 will you discuss this on the websites call today?
@debo19, I think it is already fixed, PR just needs a review.
@debo19, I think it is already fixed, PR just needs a review.
Right. You can still demo your work on the call 😄
@Nikhil-Ladha pls review this one. I think it's fine now.
I am not sure what you mean when you say it's "fine now". I can still see 2 drop-downs being opened simultaneously. Though, I believe this is an issue with the closing animation that we have in the stellarnav.js script. To fix this issue, we would need to get away with the closing animation, or just avoiding overlap is the only possibility.
Let's discuss it on today's call, and we can decide on it accordingly.
@Krishna2323 will you plan on a review of this on Monday's website call along with a final review of the initial dark mode theme?