Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #1435 -- hamburger tab key focus issue fixed #1451

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Bhagyarsh
Copy link
Contributor

Issue #1435

Screenshots for reference
Before:
before#1435

After:
after#1435

Copy link
Member

@CuriousLearner CuriousLearner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Bhagyarsh!

Thank you for your contribution.

This seems to flip the ordering of the dark-mode toggle with the hamburger menu option for me 🤔 albeit your screenshots do not show this.

I'm checking this on Chrome Version 120.0.6099.109 (Official Build) (arm64) on macOS. Can you please let me know which browser are you testing this on?

Before changes:

Screenshot 2023-12-16 at 11 51 00 PM

After Changes:

Screenshot 2023-12-16 at 11 53 10 PM

@Bhagyarsh
Copy link
Contributor Author

Bhagyarsh commented Dec 17, 2023

Hi Sanyam,

Thanks for looking into it! I tested on the same Chrome version (120.0.6099.109-1) on Linux and Firefox (120.0.1-1). I also cleared my cache, and everything looks good on my end.

Could it be a cache thing on your side? Give it a shot after clearing and let me know if it's still acting up.

image

@Bhagyarsh
Copy link
Contributor Author

Hi @CuriousLearner ,
I was wondering if you had a chance to review it further. Are there any changes required before merging it?
I'm happy to make any adjustments based on your feedback. Please let me know if you have any questions.
Thanks for your time, and I look forward to your response.
Best regards,

@bmispelon
Copy link
Member

Hi @Bhagyarsh and thanks for this PR!

I took a look a it on my local version (using firefox) and your approach does seem to work (I did have to run make compile-scss after switching branches, maybe that's why the other commenter got the wrong behavior?).

However I'm a bit hesitant about adding more complexity to the HTML. Instead I tried an alternative approach and used flex for the layout of the whole header instead of floats. This lets the browser naturally focus things without having to add any extra HTML.
The result is in this PR: #1523
Can you tell me what you think?

Thanks! ✨

@CuriousLearner
Copy link
Member

Hi @Bhagyarsh

Sorry, I didn't get a notification for your earlier comment.

I'll take a look at this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants