chore: disable IME support for the Web platform

This commit is contained in:
Lucas.Xu 2022-09-29 11:33:27 +08:00
parent 0a49a18280
commit 8d39dac145

View File

@ -297,7 +297,11 @@ class _AppFlowyInputState extends State<AppFlowyInput>
_updateCaretPosition(textNodes.first, selection);
}
} else {
// close();
// https://github.com/flutter/flutter/issues/104944
// Disable IME for the Web.
if (kIsWeb) {
close();
}
}
}