netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.15k stars 2.58k forks source link

A sidebar menu folds when a cursor is no longer hovering over the sidebar #16140

Closed heroin-moose closed 5 months ago

heroin-moose commented 5 months ago

Deployment Type

NetBox Cloud

NetBox Version

v4.0.1

Python Version

3.10

Steps to Reproduce

See the attached video.

https://github.com/netbox-community/netbox/assets/15263497/409dacf4-6eb9-427c-b413-97d9df16d096

Expected Behavior

The sidebar should remain static.

Observed Behavior

The sidebar menu folds/unfolds, depending on cursor coordinates.

jeffgdotorg commented 5 months ago

Thanks for reporting a problem you're seeing with NetBox.

I've tried to reproduce the behavior that your video shows, both on the public demo (which is now running 4.0.2) and on a lab instance running 4.0.1. I tried with current releases of Chromium, DuckDuckGo, and Firefox on macOS. Either the problem is local to your system, or I need more detailed steps to reproduce. Your video doesn't show the steps you took to get to the starting point, which may be relevant.

It's also worth pointing out that our bug report template specifically warns against using the public demo system to report bugs, because that system is always in an unknown state and it gets reset every 24 hours.

heroin-moose commented 5 months ago

I think 4.0.2 fixed it, cannot reproduce anymore. Thanks!

heroin-moose commented 5 months ago

No, spoke too soon. It works fine on the title page, but opening "Sites" page triggers the issue for me. I'm using firefox 126 on Arch Linux. Yeah, guilty of using demo.netbox.dev, but I'm not brave enough yet to upgrade my site :D

jeffgdotorg commented 5 months ago

Okay, I poked at the UI quite a bit trying to reproduce this the first time and can't really justify going down a rabbit-hole figuring out exactly how you're able to trigger the problem behavior. Please record a new video that shows the whole browser window, including the URL in the address bar, and starts with a blank new tab, with no jump cut. If you think voiceover narration might help me understand something that doesn't come across as totally obvious, consider adding some.

jeremystretch commented 5 months ago

@heroin-moose try disabling any browser plugins you have installed that might be interfering with the Javascript/CSS.

heroin-moose commented 5 months ago

Appears to be the problem with old site data cached in browser, removing the cache through firefox's "Manage Site Data" helps.

jeffgdotorg commented 5 months ago

Thanks for tracking down the cause @heroin-moose, I'll close out this issue.