mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix(Table): allow links to be opened when @select is used (#3580)
This commit is contained in:
@@ -289,7 +289,7 @@ function handleRowSelect(row: TableRow<T>, e: Event) {
|
||||
return
|
||||
}
|
||||
const target = e.target as HTMLElement
|
||||
const isInteractive = target.closest('button')
|
||||
const isInteractive = target.closest('button') || target.closest('a')
|
||||
if (isInteractive) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user