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

fix(web): open image in new tab with memories on firefox #5847

Merged
merged 3 commits into from
Dec 19, 2023

Conversation

martabal
Copy link
Member

fixes #5751

Copy link

cloudflare-pages bot commented Dec 19, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9c05576
Status: ✅  Deploy successful!
Preview URL: https://7ee8091b.immich.pages.dev
Branch Preview URL: https://fix-memory-image-firefox.immich.pages.dev

View logs

@jrasm91
Copy link
Contributor

jrasm91 commented Dec 19, 2023

Whhhhhhhhy do we need more z index changes....

@martabal
Copy link
Member Author

You want to be able to click on the button when navigating your memories. I think we also use z indexes for navigation buttons on the asset-viewer.

@jrasm91
Copy link
Contributor

jrasm91 commented Dec 19, 2023

Then why can't we draw them on top? Z-index is for overwriting the default stacking order. Why does the default order not work? We should try to fix that if possible instead.

Copy link
Contributor

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test it myself, but the code seems better.

@martabal
Copy link
Member Author

Like you suggested, buttons come after the image to avoid using z-index

@alextran1502 alextran1502 merged commit 81af48a into main Dec 19, 2023
20 checks passed
@alextran1502 alextran1502 deleted the fix/memory-image-firefox branch December 19, 2023 17:01
martabal added a commit that referenced this pull request Jan 9, 2024
* fix: open image in new tab with memories on firefox

* don't use z-index

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] When viewing memories in Firefox, the images cannot be saved with the right click menu
3 participants