Skip to content

Conversation

matthew-carroll
Copy link
Contributor

Add a 'quirks mode' when pressing ENTER via IME (Resolves #31)

@matthew-carroll matthew-carroll merged commit 6352118 into main Aug 10, 2025
2 checks passed
@matthew-carroll matthew-carroll deleted the 31_add-quirks-mode-for-IME-enter branch August 10, 2025 04:44
Comment on lines +128 to +131
if (_keyEventPlatform != "android" || !kIsWeb || !useQuirksMode) {
await testTextInput.receiveAction(TextInputAction.newline);
await pump();
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this won't work for regular tests, because kIsWeb cannot be overwritten. In super_editor, we use a separate getter that we can override at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a simulateQuirks to pressEnterWithIme`
2 participants