salt-ds icon indicating copy to clipboard operation
salt-ds copied to clipboard

Combo box `inputRef` prop overrides default behaviour

Open origami-z opened this issue 6 months ago • 0 comments

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.

origami-z avatar Aug 05 '24 11:08 origami-z