We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0b9e32 commit 2320ee1Copy full SHA for 2320ee1
1 file changed
FindOnPage.md
@@ -88,7 +88,6 @@ async void ConfigureAndExecuteFindAsync(string searchTerm){
88
FindDirection = CoreWebView2FindDirection.Forward
89
};
90
91
- // Use the FindController to start the find operation
92
CoreWebView2Find find = new CoreWebView2Find(findConfiguration);
93
94
// Assuming you want to use the default UI, adjust as necessary
@@ -102,7 +101,9 @@ async void ConfigureAndExecuteFindAsync(string searchTerm){
102
101
await find.FindNextAsync();
103
104
await find.FindPreviousAsync();
105
- find.StopFind();
+
+ // Stop the active find session
106
+ await find.StopFindAsync();
107
108
return true;
109
}
0 commit comments