Antonio-RiveroMartnez opened a new pull request, #20833: URL: https://github.com/apache/superset/pull/20833
### SUMMARY The problem is that when the table is rendering our `useResizeDetector` triggers changes to hide the scrollbar if necessary which causes that width and height from props are always changing and the component enters into an infinite loop. We are detecting the changes and applying the resize only if the new difference (any) is not related to the scrollbar size. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before:  After:  ### TESTING INSTRUCTIONS 1. Visit the "Charts" page and hit "+chart" button 2. Select "Flights" as dataset and "Table" as viz type 3. Toggle to "Raw Records" in query mode 4. Select ORIGIN_AIRPORT and DAY_OF_WEEK for Columns 5. Select AIRLINE[asc] for ordering 6. Create chart Expected results: 1. The table isn't twitching ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
