-
-
Notifications
You must be signed in to change notification settings - Fork 387
Input Smooth & Search delay #3350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
b1a4681
3abcebd
a41356c
dc3f663
e98b144
35617e9
c114f2d
8cdb872
e98964a
fc4b5c9
5dd9e8d
2c949d6
933582b
2738636
1e01186
dc92f6a
102636f
8c387d0
d785991
2f4e140
2619851
bebe86d
529a219
5a88a1f
23470b6
84bd5f5
9cf34b2
7f5480d
1f6ab1c
aec11ce
cc7dc4a
72b0fbf
1ddfabc
63378e1
1ede69c
d041fe8
9ac6d58
2ea7ab2
756ac0b
6604247
2273d0c
750cba2
0dba9bc
659356a
8a2ec4d
dd9514b
12a3bbe
a333041
c925a79
e9c1cff
dec1e77
c4cd51c
72a59ba
5243d74
b860bb2
d42279b
39f41e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -569,7 +569,6 @@ public string QueryText | |
{ | ||
_queryText = value; | ||
OnPropertyChanged(); | ||
Query(); | ||
} | ||
} | ||
|
||
|
@@ -631,6 +630,7 @@ public void ChangeQueryText(string queryText, bool isReQuery = false) | |
{ | ||
// re-query is done in QueryText's setter method | ||
QueryText = queryText; | ||
Query(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From original codes, when QueryText is changed, it will call There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And I remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we do that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
// set to false so the subsequent set true triggers | ||
// PropertyChanged and MoveQueryTextToEnd is called | ||
QueryTextCursorMovedToEnd = false; | ||
|
@@ -695,6 +695,7 @@ private ResultsViewModel SelectedResults | |
else | ||
{ | ||
QueryText = string.Empty; | ||
Query(); | ||
} | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.