Skip to content

Remove autoscroll behavior in spreadsheet mode#70

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/remove-autoscroll-behavior
Draft

Remove autoscroll behavior in spreadsheet mode#70
Copilot wants to merge 2 commits intomasterfrom
copilot/remove-autoscroll-behavior

Conversation

Copy link
Contributor

Copilot AI commented Nov 8, 2025

Autoscrolling during question processing in spreadsheet mode proved distracting in practice.

Changes

  • Removed automatic scroll trigger in SpreadsheetView.update_cell() when cells enter WORKING state
  • Preserved _auto_scroll_to_row() method for explicit user interactions (e.g., select_row())
# Before: Autoscrolled to working cell
def update_cell(self, row_index, state, answer=None, agent_name=None):
    # ...update cell state...
    if state == CellState.WORKING:
        self._auto_scroll_to_row(row_index)  # Removed

# After: No automatic scrolling during processing
def update_cell(self, row_index, state, answer=None, agent_name=None):
    # ...update cell state...
    # User can still manually select rows to scroll
Original prompt

This section details on the original issue you should resolve

<issue_title>Remove autoscroll behavior when questions are answered</issue_title>
<issue_description>Right now the view is autoscrolling when questions are answered in spreadsheet mode. This was in the original spec but it has proven to be distracting - so this autoscrolling behavior should be removed.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mcasalaina <1323111+mcasalaina@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove autoscroll behavior when questions are answered Remove autoscroll behavior in spreadsheet mode Nov 8, 2025
Copilot AI requested a review from mcasalaina November 8, 2025 16:43
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.

Remove autoscroll behavior when questions are answered

2 participants