Skip to content

Commit dea593b

Browse files
committed
refactor: replace getWrapper() with selector
1 parent 2a82171 commit dea593b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/DocsSearchBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class DocsSearchBar {
136136
])
137137

138138
// We remove the inline styles of the wrapper element for left / right
139-
$(this.autocomplete.autocomplete.getWrapper()).css({
139+
$(`.${this.autocompleteOptions.cssClasses.root} > [role='listbox']`).css({
140140
left: false,
141141
right: false,
142142
})

0 commit comments

Comments
 (0)