Skip to content

Commit 66af01e

Browse files
committed
fix vertical scrollbar showing
1 parent 37f4935 commit 66af01e

File tree

1 file changed

+1
-1
lines changed
  • src/components/advanced-autosuggest-control

1 file changed

+1
-1
lines changed

src/components/advanced-autosuggest-control/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class AdvancedAutosuggestControl extends Component {
279279
this.setState( { isShowingSuggestions: false } )
280280
}
281281

282-
if ( shouldShowSuggestions ) {
282+
if ( shouldShowSuggestions && this.state.containerRect ) {
283283
// We need to add styling to position the
284284
// suggestion drop down correctly. Scrolling
285285
// the editor/inspector breaks the position, so

0 commit comments

Comments
 (0)