-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 open with cmd key #5381
Fix open with cmd key #5381
Conversation
🦋 Changeset detectedLatest commit: ec2cb3a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
src/components/Datagrid/Datagrid.tsx
Outdated
@@ -530,16 +530,16 @@ export const Datagrid: React.FC<DatagridProps> = ({ | |||
aria-hidden={true} | |||
onWheelCapture={hideLinkAndShowAfterDelay} | |||
onClick={e => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this handler to the separate function and a write test where you pass event and you make assertion what url is being passed to the "navigate" + add comment in the test that navigate uses browser history which handles /dashbaord/ vs /
e10d9f5
to
16ae2f5
Compare
* Fix open with cmd key * Add changeset * Log href * Remove console.log and use default action * Add tests * Change mocking
Scope of the change