This seems like a mistake, it looks like the size of the handle has been resized to a size that makes it invisible, but if it can move with some difficulty. The last statement I checked with the following code.
connect(mySlider, &QSlider::valueChanged, [=](int value){ qDebug()<<value; });
It is advisable to set the width and height, for example:
mySlider->setStyleSheet("QSlider::groove:horizontal {background-color:yellow;}" "QSlider::handle:horizontal {background-color:blue; height:16px; width: 16px;}");

source share