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: stop click propagation for open original (#1176) #1190

Merged
merged 1 commit into from
Nov 14, 2022
Merged

fix: stop click propagation for open original (#1176) #1190

merged 1 commit into from
Nov 14, 2022

Conversation

foolo
Copy link
Contributor

@foolo foolo commented Nov 13, 2022

What does this PR do?

Fixes #1176
Fix the previous behavior which was that "Open original" opened both the original media and the corresponding post.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

In the feed, find a post which has an image
Click the image. Image will show in full size, with a link "Open original"
Click "Open original"
Verify that the original is opened in a new tab, and that nothing happens in the original tab (should not open the post)

@foolo foolo requested a review from bigint as a code owner November 13, 2022 17:20
@vercel
Copy link

vercel bot commented Nov 13, 2022

@foolo is attempting to deploy a commit to the Lenster Team on Vercel.

A member of the Team first needs to authorize it.

@bigint bigint merged commit 7211c53 into heyxyz:main Nov 14, 2022
@bigint
Copy link
Member

bigint commented Nov 14, 2022

Amazing 🤩

@foolo foolo deleted the open-original branch November 14, 2022 12:17
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.

Open original opens post page
2 participants