You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using latest antd library version 5.8.6 which is dependent on rc-util. There is an edge case where shadowRoot is undefined. When inShadow function is called, the whole page breaks throwing the error below.
VM107071:1 Uncaught TypeError: Right-hand side of 'instanceof' is not an object
It used to work when function returned return getRoot(ele) !== ele?.ownerDocument;
Version: rc-util: 5.37.0
The text was updated successfully, but these errors were encountered:
I am using latest antd library version 5.8.6 which is dependent on rc-util. There is an edge case where shadowRoot is undefined. When inShadow function is called, the whole page breaks throwing the error below.
VM107071:1 Uncaught TypeError: Right-hand side of 'instanceof' is not an object
It used to work when function returned
return getRoot(ele) !== ele?.ownerDocument;
Version: rc-util: 5.37.0
The text was updated successfully, but these errors were encountered: