[Tooltip] - PopperProps broken starting from 4.9.5 #20095
Labels
bug 🐛
Something doesn't work
component: tooltip
This is the name of the generic UI component, not the React module!
Because of #19851, we are not able to create our own custom arrow for a Tooltip.
Current Behavior 😯
Passing an arrow modifier to
PopperProps
, throwsFailed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'.
Expected Behavior 🤔
The arrow is displayed properly.
Steps to Reproduce 🕹
Working version (4.9.4): https://codesandbox.io/s/material-demo-ltrt5
Broken version (4.9.5): https://codesandbox.io/s/material-demo-ddi25
Root cause
This is because
deepmerge()
replaces DOM nodes by{}
objects.Here a screenshot of the following console.log:
Your Environment 🌎
The text was updated successfully, but these errors were encountered: