Skip to content

V3 - Resizing to mobile makes the username hover in the middle of the page #7045

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

Closed
TheFlyingCorpse opened this issue Aug 26, 2021 · 4 comments
Assignees
Labels
beta Concerns a bug/feature in a beta release type: bug A confirmed report of unexpected behavior in the application

Comments

@TheFlyingCorpse
Copy link

NetBox version

v3.0-beta2

Python version

3.8

Steps to Reproduce

  1. Log in to beta-demo as a user, eg "admin"
  2. Make sure the side-bar is not pinned
  3. Resize to make the window so it goes to a slim fit
  4. See "admin" about halfway below the search box floating above the content.

Expected Behavior

Resizing should put the username in a logical box thats likely hidden at all times unless navigated to or expanded on.

Observed Behavior

Username and a small triangle floats in the middle of the content area on the left side.

@TheFlyingCorpse TheFlyingCorpse added the type: bug A confirmed report of unexpected behavior in the application label Aug 26, 2021
@jeremystretch
Copy link
Member

I'm not able to reproduce this. What browser are you using?

@jeremystretch jeremystretch added beta Concerns a bug/feature in a beta release status: revisions needed This issue requires additional information to be actionable labels Aug 26, 2021
@TheFlyingCorpse
Copy link
Author

TheFlyingCorpse commented Aug 26, 2021

Edge 92.0.902.78

Seems the username should fit on the side menu, it doesnt look like it is hidden with it, it slides into the menu when that is expanded.

Example, it appears under a device, and then follows it to other pages after, such as Devices and the main page.: https://beta-demo.netbox.dev/dcim/devices/14/

To reproduce under Edge:

  • Log in as admin, go to that device.
  • If it doesnt appear, hit F5 to make the bug appear
  • To make it disappear, hit Ctrl+F5.
  • To make it appear again, F5, it will stay on the other pages as well that you navigate to.

screen-capture

@tb-killa
Copy link
Contributor

With Google Chrome on Mobile Devices also available.

@TheFlyingCorpse
Copy link
Author

My guess: This occurs because there is a separate div for the profile-button-container, and not nested under the sidenav div. netbox/project-static/src/sidenav.ts does not select the profile-button-container to hide.

@thatmattlove thatmattlove self-assigned this Aug 29, 2021
@jeremystretch jeremystretch removed the status: revisions needed This issue requires additional information to be actionable label Aug 30, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

4 participants