inuyaksa / jquery.nicescroll

nicescroll plugin for jquery - scrollbars like iphone/ipad
https://nicescroll.areaaperta.com/
3.6k stars 1.67k forks source link

Horizontal scrollbar doesn't update properly when page zoom is less or greater than 100% #730

Open alexx-grand opened 6 years ago

alexx-grand commented 6 years ago

Hi there! I have next config:

{ autohidemode: false, hidecursordelay: 0, cursorcolor: '#f49a3c', cursorborder: '0 none', cursorwidth: '2px', cursorborderradius: '1px', background: '#e8e9ea', horizrailenabled: false, railoffset: { top: 0, left: 15 } }

When zoom does not equal to 100% and content changes the scrollbar calcs its position in an incorrect way and I can't reach bottom of the content. It's OK when I call

$('#my-id').getNiceScroll().resize()

after the content was changed. So is it expected behavior?