Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #45 from gregpabian/fix/42
Browse files Browse the repository at this point in the history
Change to getNativeScrollbarWidth (fixes issue #42)
  • Loading branch information
DominikSerafin authored Jan 10, 2018
2 parents 0bc2000 + bccc7ba commit 7e78f80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vuebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@
container.appendChild(wrapper);

fullWidth = child.offsetWidth;
child.style.width = '100%';
wrapper.style.overflowY = 'scroll';
barWidth = fullWidth - child.offsetWidth;

Expand Down

0 comments on commit 7e78f80

Please sign in to comment.