diff --git a/.changeset/real-papayas-tease.md b/.changeset/real-papayas-tease.md new file mode 100644 index 00000000000..b5d23b6cc7a --- /dev/null +++ b/.changeset/real-papayas-tease.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris': patch +--- + +Reverted a change that caused `IndexTable` `onNavigation` not to work when `selectable` is `false` diff --git a/polaris-react/src/components/IndexTable/components/Row/Row.tsx b/polaris-react/src/components/IndexTable/components/Row/Row.tsx index 8ba4b5847f6..1bc75a0baed 100644 --- a/polaris-react/src/components/IndexTable/components/Row/Row.tsx +++ b/polaris-react/src/components/IndexTable/components/Row/Row.tsx @@ -142,7 +142,7 @@ export const Row = memo(function Row({ return; } - if (primaryLinkElement.current && !selectMode && selectable) { + if (primaryLinkElement.current && !selectMode) { isNavigating.current = true; const {ctrlKey, metaKey} = event.nativeEvent;