ce
ce copied to clipboard
Page scrolls to top after keyboard-only interaction (Copy + Edit via F2 + Enter) — observed in v4 and v5
A user experience issue in Jspreadsheet CE (tested on both v4 and v5) where the screen scrolls to the top unexpectedly during keyboard-only operations.
🔄 Steps to Reproduce Navigate to a spreadsheet table with scrollable content.
- Select a cell or a column
- Press Ctrl+C to copy.
- Press F2 to enter edit mode.
- Press Enter to confirm the value.
🧪 Observed Behavior After pressing Enter, the page scrolls to the top — which disrupts user focus and context. No error appears in the console.
✅ Expected Behavior The cell should update and focus should remain on the same row without affecting the scroll position.
🔍 Additional Notes This issue appears only when using the keyboard (no mouse interaction involved). Similar issues have been reported earlier: https://github.com/jspreadsheet/ce/issues/980 We're currently unable to trace the exact cause but believe it's triggered internally during cell re-render or focus.
📦 Environment Library: Jspreadsheet CE v4 & v5 Browser: Reproducible on latest Chrome
Is this a known regression? Any workaround or fix suggestion would be appreciated.