salt-ds
salt-ds copied to clipboard
Combo box `inputRef` prop overrides default behaviour
Package name(s)
Core (@salt-ds/core)
Package version(s)
1.32.0
Description
When passing in inputRef
(mentioned in https://www.saltdesignsystem.com/salt/components/combo-box/usage#props) to combo box, some behaviour starts to break (e.g. pill input no longer gets focus).
inputRef
needs a useForkRef
to merge with internal ref
Steps to reproduce
No response
Expected behavior
No response
Operating system
- [ ] macOS
- [ ] Windows
- [ ] Linux
- [ ] iOS
- [ ] Android
Browser
- [ ] Chrome
- [ ] Safari
- [ ] Firefox
- [ ] Edge
Are you a JPMorgan Chase & Co. employee?
- [X] I am an employee of JPMorgan Chase & Co.