Skip to content

Native filters panel break due to tabs scroll #30058

@michael-s-molina

Description

@michael-s-molina

Bug description

When a dashboard has inner tabs that contain scroll, the calculated height of the native filters panel is breaking when changing between tabs with different heights.

How to reproduce the bug

  1. Create a dashboard with 2 inner tabs
  2. In one tab, add a bunch of charts so that it needs scrolling
  3. In the other tab, add a few charts so it does not need scrolling
  4. Create a native filter
  5. Scroll to the bottom on the first tab
  6. Select the second tab
  7. Check that the dashboard height is not calculated correctly and presents a scroll
  8. Scroll to the bottom and see the native filters panel break

Screenshots/recordings

Screen.Recording.2024-08-29.at.16.53.26.mov

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

Also present in 4.1.0 RC2

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

Labels

dashboard:native-filtersRelated to the native filters of the Dashboarddashboard:tabRelated to the usage of tabs in the Dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions