I get the following warning in the console:
Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.
The warning seems to originate from this flushSync() call:
|
ReactDOM.flushSync(() => { |
The same issue was encountered in Mantine React component library. They've decided to migrate from react-popper to fix that in that issue.