Skip to content

Commit 58616c9

Browse files
committed
refactor: slightly decrease threshold so mismatches aren't immediately thrown out
1 parent 6c50e42 commit 58616c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uikit-workshop/src/scripts/components/pl-search/pl-search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class Search extends BaseComponent {
141141

142142
const fuseOptions = {
143143
shouldSort: true,
144-
threshold: 0.2,
144+
threshold: 0.3,
145145
tokenize: true,
146146
includeMatches: true,
147147
location: 0,

0 commit comments

Comments
 (0)