You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first result is "The Lock Artist". And the match indices doesn't include the space before "Lock".
Current result returns match indices of 3,9 . Which is " Lock A". (note, last index is included).
Or am I missing something?
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description of the bug
FuseJS 7.0.0
Tested on FuseJS 6.6.2 as well. Same issue.
When the search input have spaces, the match result seems to be incorrect. More details in the following example.
The Fuse.js version where this bug is happening.
Other (please specify in description)
Is this a regression?
Which version did this behavior use to work in?
None
Steps To Reproduce
Connect to the live demo : https://www.fusejs.io/demo.html
Search for "Lock A"
Set includeMatches to true in the options.
Expected behavior
The first result is "The Lock Artist". And the match indices doesn't include the space before "Lock".
Current result returns match indices of 3,9 . Which is " Lock A". (note, last index is included).
Or am I missing something?
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: