We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6666e0a commit 525c830Copy full SHA for 525c830
src/index.js
@@ -89,7 +89,7 @@ function ReactCustomSearchList(props) {
89
}, [open]);
90
return (
91
<div className={`rc-search-suggestions-root ${theme}${corner ? ' corner' : ''}`} style={rootStyle}>
92
- {open && children != null && children.length ? (
+ {open && children != null && children.length !== 0 ? (
93
<Popper
94
rootRef={rootRef}
95
style={popperStyle}
0 commit comments