[fixed]: check item length before calling scrollinto view
[fixed]: check item length before calling scrollinto view

the state of highlightIndex will not be set to null when I change
the value of input box, so exception will be thrown when it is going
to find the highlighted dom element

xujihui1985/react-autocomplete