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: do not allow focusing of cell when not in cell selection mode #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Killusions
Copy link

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

Currently, a cell can be focused by mouse, even when not in cell selectionMode, this creates an issue with focus styling and leads to the cell being selected by mouse instead of the row.

What is the new behavior?

Do not set tabindex=-1 on the cell if selectionMode is not cell, now clicking on a row focuses the entire row.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@Killusions Killusions force-pushed the fix/do-not-allow-focusing-of-cell-when-not-in-cell-selection-mode branch from 2bcfcc2 to 1a6b5f2 Compare December 17, 2024 16:16
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.

1 participant