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

Tweak onEditorNavigation and getCellToScroll #3295

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Tweak onEditorNavigation and getCellToScroll #3295

merged 1 commit into from
Aug 1, 2023

Conversation

nstepien
Copy link
Contributor

@nstepien nstepien commented Aug 1, 2023

No description provided.

@nstepien nstepien self-assigned this Aug 1, 2023
@@ -69,8 +69,9 @@ export function onEditorNavigation({ key, target }: React.KeyboardEvent<HTMLDivE
target instanceof HTMLTextAreaElement ||
target instanceof HTMLSelectElement)
) {
return target.matches(
'.rdg-editor-container > :only-child, .rdg-editor-container > label:only-child > :only-child, .rdg-editor-container > div:only-child > label:only-child > :only-child'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can't rely on :only-child anymore for our use cases

@nstepien nstepien marked this pull request as ready for review August 1, 2023 11:39
@nstepien nstepien merged commit ac0630c into main Aug 1, 2023
2 checks passed
@nstepien nstepien deleted the tweaks branch August 1, 2023 12:33
adityatoshniwal pushed a commit to pgadmin-org/react-data-grid that referenced this pull request Jul 31, 2024
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.

2 participants