bryanck commented on pull request #10475:
URL: 
https://github.com/apache/incubator-superset/pull/10475#issuecomment-666914358


   I have another potential solution where you can keep the `onEntering`. It 
looks like the table chart is the only one that needs to be visible to 
calculate dimensions so probably the only one that needs `onEntered`. If you 
switch back to `onEntering` and make a small change in `useSticky.tsx` in the 
table plugin, and run the code in the `useLayoutEffect` asynchronously (e.g. 
via `setTimeout`), that allows the table to become visible before the code 
calculating the height is executed. I'm not sure if this is 100% reliable but 
it seems to be, and makes the tab switches much smoother again.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to