This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push: new ad592c717e fix: Reset description height to zero when chart is not expanded (#33843) ad592c717e is described below commit ad592c717e85f9711c1eb8fae8e2cfc65abe32d9 Author: Abhinav Kumar <113254225+abhinav-1...@users.noreply.github.com> AuthorDate: Fri Aug 8 01:21:46 2025 +0530 fix: Reset description height to zero when chart is not expanded (#33843) --- superset-frontend/src/dashboard/components/gridComponents/Chart.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx index 9e18ae9856..ec12d98d7b 100644 --- a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx +++ b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx @@ -207,6 +207,8 @@ const Chart = props => { ? descriptionRef.current?.offsetHeight : 0; setDescriptionHeight(descriptionHeight); + } else { + setDescriptionHeight(0); } }, [isExpanded]);