Search code examples
angularinternet-explorer-11perfect-scrollbar

NGX Perfect Scrollbar: Remove horizontal scroll in IE11 while decreasing scale


The issue was reproduced on IE11. Horizontal scroll axis appeared when I decreased scale. I tried to use suppressScrollX: true and useBothWheelAxes: false but it doesn't work.

How can I remove x axis on IE11 while scaling?


Solution

  • I found the solution that works for me. However, using of suppressScrollX: true and useBothWheelAxes: false doesn't work, I removed x axis via CSS:

    ::ng-deep .ps--active-x > .ps__rail-x {
      display: none;
    }