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

[IndexTable.Row] Revert selectable=false early return, which break on… #11773

Merged

Conversation

chloerice
Copy link
Member

@chloerice chloerice commented Mar 21, 2024

WHAT is this pull request doing?

This PR reverts a change made in #11763, unrelated to the bug fixed, that caused an unintended regression: breaking onNavigation behavior for unselectable tables. This needs to ship in a patch asap because it is live in v12.20.0.

Copy link
Contributor

@talbshoam talbshoam left a comment

Choose a reason for hiding this comment

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

🔥

Copy link

@etlgfx etlgfx left a comment

Choose a reason for hiding this comment

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

LGTM

@chloerice chloerice force-pushed the revert-navigation-logic-only-working-when-selectable branch from b5b0f1c to 84a5c60 Compare March 21, 2024 21:40
@chloerice chloerice force-pushed the revert-navigation-logic-only-working-when-selectable branch from 84a5c60 to 5233dcf Compare March 21, 2024 21:41
@chloerice chloerice merged commit b1a0efc into main Mar 21, 2024
14 checks passed
@chloerice chloerice deleted the revert-navigation-logic-only-working-when-selectable branch March 21, 2024 22:31
chloerice pushed a commit that referenced this pull request Mar 21, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @shopify/polaris@12.22.1

### Patch Changes

- [#11771](#11771)
[`8d636390a`](8d63639)
Thanks [@kyledurand](https://github.com/kyledurand)! - Added cover
positioning story to popover to prevent regressions


- [#11773](#11773)
[`b1a0efc7d`](b1a0efc)
Thanks [@chloerice](https://github.com/chloerice)! - Reverted a change
that caused `IndexTable` `onNavigation` not to work when `selectable` is
`false`

## polaris.shopify.com@0.66.1

### Patch Changes

- Updated dependencies
\[[`8d636390a`](8d63639),
[`b1a0efc7d`](b1a0efc)]:
    -   @shopify/polaris@12.22.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AnnaCheba pushed a commit to AnnaCheba/polaris that referenced this pull request Apr 22, 2024
Shopify#11773)

### WHAT is this pull request doing?

This PR reverts a change made in Shopify#11763, unrelated to the bug fixed,
that caused an unintended regression: breaking `onNavigation` behavior
for unselectable tables. This needs to ship in a patch asap because it
is live in v12.20.0.
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.

3 participants