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(list): only focus on row when clicking a list item #11310

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

driskull
Copy link
Member

@driskull driskull commented Jan 15, 2025

Related Issue: #11078

Summary

  • no longer focuses on cells when a cell is focused via click
  • only a row or cell can be focusable via tabindex at a time
  • update tests

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jan 15, 2025
@driskull driskull changed the title fix(list): only focus on row when clicking a list item. fix(list): only focus on row when clicking a list item Jan 15, 2025
@driskull driskull marked this pull request as ready for review January 15, 2025 21:14
Copy link
Contributor

@eriklharper eriklharper left a comment

Choose a reason for hiding this comment

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

This seems to work pretty well, better than my stab at it. Thanks @driskull !

@driskull driskull added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Jan 15, 2025
@driskull driskull merged commit 8dcde2e into dev Jan 15, 2025
19 checks passed
@driskull driskull deleted the dris0000/list-focus-changes branch January 15, 2025 23:37
benelan added a commit that referenced this pull request Jan 21, 2025
* origin/dev: (322 commits)
  chore: add ui icons package to enhancement template (#11344)
  chore(table): move workaround comment back to its usage (#11341)
  ci(actions): refine remove-issue-from-design-projects workflow (#11325)
  chore(actions): add icon leads notification for calcite-ui-icons requests (#11263)
  test(combobox): use async expect for non-throwing test case (#11332)
  fix(combobox, input-time-zone): fix initial item selection delay (#11326)
  build(deps): update dependency type-fest to v4.32.0 (#11308)
  chore(utility-network-layer, crosshair): add font codepoints (#11336)
  refactor(loadable): deprecate obsolete helpers (#11312)
  chore: release next
  feat: add crosshair (#11331)
  build(deps): update arcgis to ^4.32.0-next.81 (#11273)
  ci(actions): add action to remove issues from design projects (#11249)
  chore: release next
  fix(list-item): reflect the sortHandleOpen property (#11323)
  refactor(block): heading text color (#11314)
  chore: release next
  fix(list): only focus on row when clicking a list item (#11310)
  fix(tooltip, popover): honor prevented events (#11278)
  chore: release next
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants