projectx-codehagen/Badget

Bug: Sidebar resizes for Dashboard (only in Safari)

Closed this issue · 4 comments

Describe the bug

Screen.Recording.2024-02-27.at.10.52.35.PM.mov

Only for the Safari browser:

One really weird thing I found. Only the Dashboard tab resizes to a different size in Safari.

Steps to reproduce

  1. Open Badget in Safari
  2. Try switching between Dashboard and the other tabs
  3. The Dashboard tab will resize to a random width but this doesn't affect the other tabs.

Browsers

Safari, Firefox, Edge

Additional context (Is this in dev or production?)

Dev

There are other bugs I found with the sidebar:

  • It doesn't keep the setting for the width chosen by the user
  • If the sidebar is collapsed, and you click on an icon, the expected behavior is that it would stay collapsed
  • The right side pane can be pushed off the screen. Need to establish a minimum width it must maintain and not allow it to disappear off screen.
image

Decided against making lots of bug issues, didn't want to spam the project but wanted to document so they don't get forgotten

It's @meglerhagen's to give I think

Yes, going to replicate it at my mac. Comming with feedback soon✨

The same behavior is also present in Edge.
I believe the reason for this behavior is that we have different sidebars for different dashboards, and each sidebar has its own layout values, which are being handled using cookies.
image