Skip to content

Commit

Permalink
fix(scrollbar): fix htmlElement API compatibility
Browse files Browse the repository at this point in the history
fix #1185
  • Loading branch information
theniceangel committed May 8, 2021
1 parent 71ec29f commit 96c8677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scroll-bar/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class ScrollBar {
: this.createScrollbarElement(direction)
// internal scrollbar
if (scrollbarWrapper !== customElement) {
scroll.wrapper.append(scrollbarWrapper)
scroll.wrapper.appendChild(scrollbarWrapper)
} else {
// custom scrollbar passed by users
isCustom = true
Expand Down

0 comments on commit 96c8677

Please sign in to comment.