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

https://github.com/user-attachments/assets/efef216b-b0dd-46ca-a445-c9a33fcd6eeb

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

  • [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [x] 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.

Comment From: msyavuz

Hey, i am not sure if i understand what's going on. Can you give me some more detailed reproduction steps?