Skip to content

Commit

Permalink
add credits to @KingSora
Browse files Browse the repository at this point in the history
  • Loading branch information
Grsmto committed Nov 7, 2018
1 parent c55e040 commit 8a777f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/simplebar/src/simplebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export default class SimpleBar {
* Helper to fix browsers inconsistency on RTL:
* - Firefox inverts the scrollbar initial position
* - IE11 inverts both scrollbar position and scrolling offset
* Directly inspired by @KingSora's OverlayScrollbars https://github.com/KingSora/OverlayScrollbars/blob/master/js/OverlayScrollbars.js#L1634
*/
static getRtlHelpers() {
const dummyDiv = document.createElement('div');
Expand Down

0 comments on commit 8a777f0

Please sign in to comment.