PremanandChowdhury / java-sports

https://java-sports-livid.vercel.app
0 stars 0 forks source link

Fix/header #8

Closed jrTilak closed 8 months ago

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
java-sports ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 14, 2024 2:51am
PremanandChowdhury commented 8 months ago

This is how the Dropdown is looking on my device. [Desktop View] image

After refreshing the Dropdown is fine

jrTilak commented 8 months ago

If you refresh the page it should be gone,

Actually i saw the issue once , when i try to debug, i was not able to recreate it because it was gone after a refresh. I will try! 🪲

jrTilak commented 8 months ago

Done

Actually the mispositioning of the dropdown was because , if your internet connection is slow then the logo of navbar is loaded later making a layout shift, I fixed it by giving a fixed height to navbar to avoid layout shift.

I am not satisfied with the approach i used to position the dropdown, if you know alternative approach let me know...

PremanandChowdhury commented 8 months ago

Created the issue for the Navbar On hover dropdown not visible in 1st instance

Issue Link Issue #10