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.
2 parents 356bc3d + 2229c41 commit e1fb828Copy full SHA for e1fb828
components/SLDSLookup/Menu/index.js
@@ -22,7 +22,7 @@ class Menu extends React.Component {
22
// make an array of the children of the list
23
// but only count the actual items (ignore errors/messages)
24
let list = [].slice.call(React.findDOMNode(this.refs.list).children)
25
- .filter((child) => child.className === "slds-lookup__item").length;
+ .filter((child) => child.className.indexOf("slds-lookup__item") > -1).length;
26
this.props.getListLength(list);
27
}
28
0 commit comments