cmdk icon indicating copy to clipboard operation
cmdk copied to clipboard

Filtering is buggy when using implicit textContent for filter

Open tonyxiao opened this issue 1 year ago • 2 comments

It's hard to describe so I recorded a video instead. Was able to reproduce the issue using the Linear example in this repo.

Filter bug when using Command.Item textContent (without explicit value) - Watch Video

tonyxiao avatar May 25 '23 07:05 tonyxiao

Looks like that would be fixed by https://github.com/pacocoursey/cmdk/pull/42 but PR was closed :thinking:

joaom00 avatar May 25 '23 21:05 joaom00

Hmm that's strange. was there any issue with the original PR?

tonyxiao avatar May 26 '23 08:05 tonyxiao