Xyphyn / photon

A replacement for lemmy-ui with more features, a better design, and more customizability.
https://phtn.app
GNU Affero General Public License v3.0
348 stars 39 forks source link

Bug: Profile menu jumps when scrolling #389

Closed sevonj closed 1 month ago

sevonj commented 1 month ago

Describe the bug The navbar profile menu is affected by scrolling and struggles to keep its position.

To Reproduce (if applicable) Steps to reproduce the behavior:

Expected behavior

Screenshots

https://github.com/user-attachments/assets/77cb2ec2-d837-43c4-816b-cc4d2372c016

Versions

Xyphyn commented 1 month ago

The reason this is happening is because I recently made the floating-ui use a better positioning method that stops it from getting caught behind other elements, at the cost of having to recalculate the position, leading to this. It's basically up to: do you want no jumping, or do you want the menu to always be visible?

sevonj commented 1 month ago

caught behind other elements

Like what?

Guess it'll be wontfix, then