Skip to content

Conversation

@stefanhoelzl
Copy link
Contributor

fixes #4634

by default cell [0,0] is selected, when range selection is disabled. With this change this can be disabled, so that on table init no range is selected.

@azmy60
Copy link
Collaborator

azmy60 commented Feb 2, 2025

Thanks for making a PR! Question - what happens if we press keyboard to navigate while the range does not exist?

@stefanhoelzl
Copy link
Contributor Author

Thanks for making a PR! Question - what happens if we press keyboard to navigate while the range does not exist?

when the range does not exist, keyboard presses to navigate do nothing. You first need to select a range before you can navigate by keyboard.

Copy link
Collaborator

@azmy60 azmy60 left a comment

Choose a reason for hiding this comment

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

It's a great idea! But there are some changes needed before merge. I would prefer not to pass boolean flags to function like this if we can avoid that.

@stefanhoelzl stefanhoelzl force-pushed the disable-default-range-selection branch from 3a26f31 to bae2f77 Compare March 2, 2025 16:23
@azmy60 azmy60 added the Enhancement Possible small update to an existing feature label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Possible small update to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

default range cannot be removed

2 participants