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: Modifier (cmd, shift, ctrl) clicking on BaseLink Links modifies current page view & url #1335

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

daniel-ji
Copy link
Contributor

@daniel-ji daniel-ji commented Nov 11, 2024

Fixes #1301.

This fix intercepts the click event and stops event propagation on the current tab (what causes the view to change). Covers all bases with event propagation (both native and synthetic events).

Copy link
Contributor

@codemonkey800 codemonkey800 left a comment

Choose a reason for hiding this comment

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

nice 🔥

@codemonkey800
Copy link
Contributor

ffff sorry @daniel-ji I've been out on PTO for a bit haha let me inspect what's going on with the CI

@codemonkey800
Copy link
Contributor

okay actually looks unrelated and I remember the E2E doesn't work for at the moment. let me merge it and monitor the E2Es for staging. thank you!! 🫶

@codemonkey800 codemonkey800 merged commit aed70fb into chanzuckerberg:main Nov 27, 2024
4 of 6 checks passed
github-actions bot added a commit that referenced this pull request Nov 27, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.36.1](web-v1.36.0...web-v1.36.1)
(2024-11-27)


### 🐞 Bug Fixes

* duplicate funding agencies
([#1365](#1365))
([544297c](544297c))
* fix datasets with deposition data typo
([#1358](#1358))
([c5033c4](c5033c4))
* Modifier (cmd, shift, ctrl) clicking on `BaseLink` Links modifies
current page view & url
([#1335](#1335))
([aed70fb](aed70fb))


### 🧹 Miscellaneous Chores

* update deps
([#1361](#1361))
([d9f6635](d9f6635))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Bug: Cmd + Left Click on links in table rows causes primary action to be executed as well as opening new tab
2 participants