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

image-viewer: modal to avoid shrinking drawers #4548

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

arthyn
Copy link
Member

@arthyn arthyn commented Mar 20, 2025

Fixes TLON-3801 by using a modal to pop the lightbox. This does hide the top level drawer but I figured that was ok. I also removed some cases where images weren't centered or were distorted.

Copy link

linear bot commented Mar 20, 2025

@patosullivan
Copy link
Member

Fixes the weird issues we see with shrinking drawers, but I'm noticing that if I view an image from the post in the backscroll and then exit back to the chat channel, I'm brought back to the bottom of the chat

@arthyn
Copy link
Member Author

arthyn commented Mar 21, 2025

I'm seeing same behavior on develop in a channel that has unreads. I think we're just doing this any time the channel is routed to

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

Successfully merging this pull request may close these issues.

2 participants