react-custom-scrollbars icon indicating copy to clipboard operation
react-custom-scrollbars copied to clipboard

Scrollbars appears after zoom website out

Open andrew-aladev opened this issue 6 years ago • 1 comments

This simple issue is related to subpixel calculation.

getThumbHorizontalWidth() {
  ...
  if (trackWidth === width) return 0;

getThumbVerticalHeight() {
  ...
  if (trackHeight === height) return 0;

Please use trackWidth <= width and trackHeight <= height instead and it fixes zoom.

andrew-aladev avatar Aug 28 '19 12:08 andrew-aladev

fixed in https://github.com/RobPethick/react-custom-scrollbars-2 thanks to @lwolczynski

RobPethick avatar May 13 '21 21:05 RobPethick