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(NcListItem): open _blank link by Enter and allow prevent #5342

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@
@focus="showActions"
@focusout="handleBlur"
@click="onClick($event, navigate, routerLinkHref)"
@keydown.enter="onClick($event, navigate, routerLinkHref)"
@keydown.esc="hideActions">
<!-- @slot This slot is used for the NcAvatar or icon, the content of this slot must not be interactive -->
<slot name="icon" />
Expand Down Expand Up @@ -630,8 +629,6 @@ export default {
if (routerLinkHref) {
navigate?.(event)
event.preventDefault()
} else {
window.location = this.href
}
},

Expand Down
Loading