Closed vvo closed 3 years ago
@vvo Don't be sorry for the issues ✌️ really appreciate the testing and reporting. Had a computer free July but back in business now and going through it all. This should be a quick fix
Thanks for your reply :) Feels good to be computer free from time to time!
fwiw, this is similar to an issue I hit, reproduction is:
This is reproducible on the storybook examples as well. The solve for me was the following on a renderValue:
useEffect(() => {
if (search && snapshot.focus && ref.current) {
ref.current.focus();
}
}, [snapshot.focus, search, ref.current])
Not sure it's the best fix, but it also resolves this reported issue. You need to make sure your renderValue is using forwardRef.
Hi there:
See:
PS: Sorry for opening so many (3) issues, I enjoy your component and I am close to having a very nice behavior, see: