Badget icon indicating copy to clipboard operation
Badget copied to clipboard

Bug: Sidebar resizes for Dashboard (only in Safari)

Open shouryan01 opened this issue 11 months ago • 5 comments

Describe the bug

https://github.com/projectx-codehagen/Badget/assets/32345320/2a3ebc7f-a786-4771-a6c1-09d9801d9dc5

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

shouryan01 avatar Feb 28 '24 06:02 shouryan01

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

shouryan01 avatar Feb 28 '24 06:02 shouryan01

It's @meglerhagen's to give I think

shouryan01 avatar Feb 29 '24 04:02 shouryan01

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

Codehagen avatar Feb 29 '24 17:02 Codehagen

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

piyusharmap avatar Feb 29 '24 18:02 piyusharmap