Closed f0rr0 closed 4 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cmdk-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 30, 2024 6:22pm |
@pacocoursey would appreciate a few mins of your time on this. Many thanks
Issue: At present, updating the value
disablePointerSelection
prop after the component has rendered once does not propagate the updated value to the underlying code.context
has outdated value ofdisablePointerSelection
since the dependency array foruseMemo
is empty.Proposed Fix: Similar to other places in current codebase, use the
propsRef
which carries updated props instead of directly referencingdisablePointerSelection
prop.