streamich/react-use
GitHub で見るuseEnsuredForwardedRef not working with callback refs
Open
#805 opened on 2019年11月26日
bughelp wanted
説明
If the forwarded ref is a callback ref the callback isn't called properly.
useEnsuredForwardedRef should check if the passed ref is a callback-function and if that's the case call it to set the ref.