Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/src/cef_web_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,14 @@ class _CefWebViewState extends State<CefWebView>
@override
void showToolbar() {}

// Newer Flutter text-input protocol addition: the framework grew
// TextInputClient.onFocusReceived (platform re-focus for browser
// autofill). CEF owns its own focus lifecycle; decline, matching the
// framework default. Deliberately omit @override for pre-3.41 SDKs, where
// the member does not exist; on newer SDKs this is the intended override.
// ignore: annotate_overrides
bool onFocusReceived() => false;

@override
void connectionClosed() {
_textInput = null;
Expand Down
Loading