I have a web page with some elements and Ant.design slider
present too. Slider values is controlled by React state. When slider tooltip is turn on, slider is very slow down and in console I see a message [Violation] Forced reflow while executig Javascript took ...
.
When slider tooltip is turn off, slider speed becomes normal. Message is appear in console also if I'am only point a mouse on slider handle (without moving handle).
How can I fix bad behaviour with tooltip? Thank's in advance!
Slider with tooltip is a standard feature that normally works well, so chances are you have some performance issue in your code.
See the accepted answer to Violation Long running JavaScript task took xx ms for some useful tips on how to locate problems.
For more detailed help you need to post your code, preferably as an executable example.