Material UI - XGrid:隐藏多列给出错误

Material UI - XGrid: hiding multiple columns gives Error

根据标题,我在 xgrid 中隐藏了几列,它在控制台中抛出 error/warning。

Warning: Failed prop type: Material-UI: The anchorEl prop provided to the component is invalid. The anchor element should be part of the document layout. Make sure the element is present in the document or that it's not display none.

看起来这是一个错误。 XGrid 问题日志:https://github.com/mui-org/material-ui-x/issues/1372