Skip to content

Commit 525c830

Browse files
fix issue of showing popup rules
1 parent 6666e0a commit 525c830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function ReactCustomSearchList(props) {
8989
}, [open]);
9090
return (
9191
<div className={`rc-search-suggestions-root ${theme}${corner ? ' corner' : ''}`} style={rootStyle}>
92-
{open && children != null && children.length ? (
92+
{open && children != null && children.length !== 0 ? (
9393
<Popper
9494
rootRef={rootRef}
9595
style={popperStyle}

0 commit comments

Comments
 (0)