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

Loading a ContentState can lead to images partially offscreen or not centered #257

Open
abrin opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@abrin
Copy link
Contributor

abrin commented Apr 10, 2024

We’re using the ContentState API to allow for clean transitions to full-screen and back. But, I believe because the viewport is a significantly different ratio that this is not working properly.
a. The user experience is also quite awkward with the image bouncing (perhaps we can set the transition to immediate), or expose that as an option?
b. it feels like the image is also not positioned with the center of the target area in the center of the viewport (this feels like an atlas bug)

see #256 for illustration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant