material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[material-ui][Tooltip] deprecate `*Component` and `*Props` for v6

Open lhilgert9 opened this issue 9 months ago • 2 comments

Part of #41281. @DiegoAndai

Question: Is it important that className of PopperProps and slotProps.popper are both applied, because a test exists in Tooltip.test.js?

I've also seen that #42107 is being worked on. We should see that the changes in these two PR's go together.

lhilgert9 avatar May 04 '24 13:05 lhilgert9

Netlify deploy preview

SpeedDialAction: parsed: +0.77% , gzip: +0.77% Tooltip: parsed: +0.94% , gzip: +0.90%

Bundle size report

Details of bundle changes (Toolpad) Details of bundle changes

Generated by :no_entry_sign: dangerJS against eb3f24d160cef22e2c7f3b4cffc83584ca634349

mui-bot avatar May 04 '24 13:05 mui-bot

CI fails because apparently the same popper element is not used in a rerender. I think that the error is in the useSlot hook. However, I have not found it yet. If anyone has an idea please let me know.

lhilgert9 avatar May 14 '24 17:05 lhilgert9

Hey @lhilgert9! thanks for working on this. Please see https://github.com/mui/material-ui/issues/41281#issuecomment-2140855314.

DiegoAndai avatar May 30 '24 21:05 DiegoAndai