nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Navbar doesn't render at exact breakpoints

Open JacobThaDev opened this issue 2 years ago • 3 comments

Describe the bug

When at an exact breakpoint (such as 960px) nothing on the navbar renders. Not sure if this extends to other responsive elements.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

just resize window to an exact breakpoint, such as 960px. (Used mobile view in Chrome on Desktop via the Console, and set the size to exactly 960px)

Expected behavior

navbar should be visible even at exact breakpoints

Screenshots or Videos

https://user-images.githubusercontent.com/13415222/187007364-438ceeb0-a612-418b-860a-1472f1d39aa1.mp4

Operating System Version

Windows 22000.856

Browser

Chrome

JacobThaDev avatar Aug 27 '22 00:08 JacobThaDev

I think this is the breakpoint problem which is reported here: https://github.com/nextui-org/nextui/issues/644#issue-1321479659.

Would be great if the team can fix this as soon as possible. Currently there is no way using grid for handling the breakpoint from 650px to 960px.

lhthang96 avatar Aug 29 '22 14:08 lhthang96

Can you provide a mini-reproduction on sandbox or stackblitz? @OGKingFox

sun0day avatar Aug 31 '22 12:08 sun0day

Can you provide a mini-reproduction on sandbox or stackblitz? @OGKingFox

https://nextui.org/docs/components/navbar#with-avatar-user

There play with the size of the demo box to reproduce the bug

Xariwey avatar Sep 01 '22 05:09 Xariwey

Hey please update to v2.0 https://nextui.org/blog/nextui-v2

Use maxWidth property: https://nextui.org/docs/components/navbar#navbar-props

jrgarciadev avatar Aug 02 '23 01:08 jrgarciadev

Hey please update to v2.0 https://nextui.org/blog/nextui-v2

Use maxWidth property: https://nextui.org/docs/components/navbar#navbar-props

lul that response, waits until v2 is out to comment some bs lmao

JacobThaDev avatar Aug 02 '23 01:08 JacobThaDev