[data grid] When wrapping custom renderHeader components in a Tooltip, it alway shows on hover, still appearing when there is no ellipsis #13457
Labels
component: data grid
This is the name of the generic UI component, not the React module!
customization: extend
Logic customizability
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
status: waiting for author
Issue with insufficient information
Steps to reproduce
Link to live example: (required)
![image](https://private-user-images.githubusercontent.com/6901751/338719924-c7dc769a-9fb3-4f96-9480-de78c9983976.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2NDU1ODAsIm5iZiI6MTcyMDY0NTI4MCwicGF0aCI6Ii82OTAxNzUxLzMzODcxOTkyNC1jN2RjNzY5YS05ZmIzLTRmOTYtOTQ4MC1kZTc4Yzk5ODM5NzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTBUMjEwMTIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDI2MTA0NTY2OWJjZTc4ZWZkYjUwMmUxODczZDgyZDg2MTNjNGZjOWNjNDQ3Mjc2ZDc3OWM0MDM5MGRmMjRjNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.qWlVW8WsMrM17V-TBPN-E577M7_hfFI7jS8yoA_SyM4)
Steps:
Current behavior
tooltip appears
Expected behavior
tooltip should not appear (unless the text input is overflowing and has an ellipsis)
Context
No response
Your environment
npx @mui/envinfo
Search keywords: renderHeader does not apply tooltip to custom header elements
Order ID: 73076
The text was updated successfully, but these errors were encountered: