Describe the bug
After upgrading our project, I realised that all the antd components with the tooltips or menus has the flickering issue when hovering off them as well as our table which is used to be very fast in performance, with the new upgrades became slow in scrolling responses and rendering. So I debugged down to 1 line of code which was causing this issue. It was the way we render the App component using createRoot.
Steps to reproduce
- Go to https://codesandbox.io/s/jolly-kalam-5mu6oi?file=/src/index.js
- Try hover on the button, you will see the tooltip flickering when you hover off the button.
- Try to modify the index.js and render the App the old way using ReactDOM.render
- Hover on the button and the tooltip will act normally
Expected behavior
Tooltips of antd components should not flicker on hover off
Actual behavior
Tooltips, menus of antd components flicker on hover off
Describe the bug
After upgrading our project, I realised that all the antd components with the tooltips or menus has the flickering issue when hovering off them as well as our table which is used to be very fast in performance, with the new upgrades became slow in scrolling responses and rendering. So I debugged down to 1 line of code which was causing this issue. It was the way we render the App component using createRoot.
Steps to reproduce
Expected behavior
Tooltips of antd components should not flicker on hover off
Actual behavior
Tooltips, menus of antd components flicker on hover off