Skip to content

Tree table state is not saved correctly #33406

@flanker255

Description

@flanker255

Bug description

The problem is reproduced only when embedding the report via iframe

  1. Create a report.
  2. Add a pivot table with at least two rows to it.
  3. Embed report via iframe
  4. Сollapse lines by pressing [-]
  5. Scroll down the page so that the collapsed lines disappear beyond the edge of the screen
  6. Scroll up

Expected behavior: Rows are still collapsed
Actual behavior: Rows are re-expanded

Superset Version: 4.0.0

bandicam.2025-05-12.14-22-08-066.mp4

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.10

Node version

I don't know

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    viz:charts:pivotRelated to the Pivot Table charts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions