tree-select
tree-select copied to clipboard
undocumented breaking change - ref methods focus & blur missing
i upgraded from 4.3.0 to 4.8.0. as you can see in the diff, the focus and blur methods are no longer exposed, so i'm getting errors when trying to use it like:
import ReactTreeSelect from "rc-tree-select";
const ref = createRef<ReactTreeSelect>();
...
selectViewsRef.current.focus()
this is a breaking change in a minor version upgrade. please follow semver and do not introduce breaking changes in non-major upgrades. also, as far as i can tell, this change is not documented anywhere in the changelog / release notes. please document it.
for now i'll be pinning 4.3.0 and looking for an alternative library.