Skip to content

Commit 418ff65

Browse files
committed
fix(sidebar): rtl scrollbar issue temp fix
1 parent 3169110 commit 418ff65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/src/sidebar.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ const Sidebar = (($) => {
106106
this.destroyScrollbar()
107107
} else {
108108
this.ps = this.makeScrollbar()
109+
// ToDo: find real fix for ps rtl
110+
this.ps.isRtl = false
109111
}
110112
}
111113

@@ -114,6 +116,8 @@ const Sidebar = (($) => {
114116
setTimeout(() => {
115117
this.destroyScrollbar()
116118
this.ps = this.makeScrollbar()
119+
// ToDo: find real fix for ps rtl
120+
this.ps.isRtl = false
117121
}, Default.transition)
118122
}
119123
}

0 commit comments

Comments
 (0)