Visible state not recalculated when parent changes maxVisible prop
localjo opened this issue · 0 comments
localjo commented
I'm using react-typeahead
inside a parent component (a drop down menu in this case), and that component has the maxVisible
value in it's state. Unfortunately, when that value changes and the typeahead is re-rendered it still uses the initial maxVisible
value instead of the new value. I'm working on a fix and should have a PR ready in the next hour or so.