문제

I have a weird scrollbar bug using Qwebview in Qt5. the scrollbars appears on the opposite side, while the action is still performed on the right side. For example, the rightside scrollbar can me moved from the right, but visually the bar moves on the left as you can see in this image:

image

Any idea what can be the cause?

도움이 되었습니까?

해결책

Ok, got it actually this is a CSS issue

I had this:

-webkit-backface-visibility: hidden;

applied on the body. This is the cause to the problem. Don't know exactly why, but this attribute duplicates/mirrors all scrollbars in webkit on QT

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top