-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
When you press Ctrl-A, the spreadsheet scrolls to cell [0, 0]
.
Expected behavior
The spreadsheet should not scroll when Ctrl-A is pressed. This issue isn't that big of a deal but it's inconsistent with Google Sheets, and a goal of this project is to have very similar behavior to Google Sheets/Excel to make it more smooth to use.
Additional context
The issue is because pressing Ctrl-A calls setDragSelection
, and there's a useEffect
in Spreadsheet.tsx
that will scroll to the second coordinate point in the dragSelection
whenever the dragSelection
array is updated. Fixing this will require modifying how that works.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed