Skip to content
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

Make layout more stable when changing screen dimensions #74

Open
Inwerpsel opened this issue Jul 25, 2024 · 0 comments
Open

Make layout more stable when changing screen dimensions #74

Inwerpsel opened this issue Jul 25, 2024 · 0 comments
Labels
enhancement New feature or request impact:high The feature/bug has a particularly high impact

Comments

@Inwerpsel
Copy link
Owner

Inwerpsel commented Jul 25, 2024

Currently, the position of the frame and full height frame changes quite a lot when you switch between screen sizes.

While this is inherently always going to happen to some extent, more could be done to make the transitions more gentle.

Challenges

  • It's not feasible to make the page itself transition between the old and new dimensions, as the layout can completely change. Even if it's technically possible, it would be ridiculously expensive to render, especially if the full height frame is used. Also the transition would very often not have enough time to complete. So it's a given that this is an instant transition. And so most other transitions happening at the same time also need to be instant.
  • When going through history, the screen dimensions can change very quickly multiple times. Since you can do this with the scroll wheel, or with a keyboard repeat that is arbitrarily fast, it can change at the monitor refresh rate. While regular input can also be done this fast (by pressing down key to go through the <select>), it's a lot less likely.
@Inwerpsel Inwerpsel added enhancement New feature or request impact:high The feature/bug has a particularly high impact labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request impact:high The feature/bug has a particularly high impact
Projects
None yet
Development

No branches or pull requests

1 participant