Skip to content

Editing directly on the data browser corrupted #3430

Open

Description

@404-html

New Issue Checklist

Issue Description

Editing directly on the data browser corrupted. Wrong cells/rows are being updated.

Steps to reproduce

  1. Open any collection in data browser
  2. Start editing the cell, change value
  3. Submit by clicking away on different row and cell

Similar behavior when adding new row.

Image

Actual Outcome

Different row is being updated

Expected Outcome

Edited cell/row should be updated.

Environment

Dashboard

  • Parse Dashboard version: 9.3.0-alpha.4
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Chrome
  • Browser version: Version 150.0.7871.187 (Official Build) (arm64)

Server
n/a

Database
n/a

Logs

Activity

  1. parse-github-assistant commented on Jul 30, 2026

    @parse-github-assistant

    🚀 Thanks for opening this issue!

    ℹ️ You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

  2. added
    type:bug
    on Jul 30, 2026
  3. 404-html commented on Jul 30, 2026

    @404-html
    MemberAuthor

    I think this one is quite critical. The issue is not present on dashboard version 9.1.1

  4. Mani7527 commented on Nov 24, 2026

    @Mani7527

    Hi! I'd like to work on this. I could reproduce it on current alpha (10.0.0) and traced it to the React 19 upgrade.

    Reproduction: edit the name cell of row A, type a new value, then click the name cell of row B. The new value is saved to row B (the notification shows row B's id), row A is unchanged.

    Regression commit: I built both sides of c3e16c2 ("React 19 + react-router 7 + GraphiQL 5 coordinated upgrade", #3409) and ran the same steps:

    • baeaf8d1 (parent, React 16): row A is updated, correct
    • c3e16c27 (React 19): row B is overwritten

    Cause: StringEditor commits on a native click listener on document.body, and BrowserTable saves with updateRow(this.props.current.row, name, newValue), i.e. the cell that is selected at commit time. React 16 attached its handlers to document, above body, so the editor committed before React selected the clicked cell. Since React 17, handlers are attached to the root container inside body, and React 18+ flushes discrete updates synchronously, so the clicked cell is already current when the editor commits.

    Plan: remember the cell (row and column) when editing starts and commit to that cell instead of the currently selected one. I'll also check the "adding new row" case from the issue, which looks like the same cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions