-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed as not planned
Closed as not planned
Copy link
Labels
r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue
Description
Steps to reproduce
- Open a Flutter app in Windows, MacOS, or Google Chrome
- Click on a
TextField(or any other widget that uses aFocusNode) - Click away from the window, and notice that the cursor doesn't stop blinking.
Expected results
It doesn't matter whether I'm using Google Chrome, VS Code, Discord, or a Terminal window: any time a text cursor is blinking, it means that the characters I type will show up there.
And this isn't limited to text fields: if I repeatedly press Tab to navigate through a website, there's a visual indicator that goes away if I click away from the window, and it comes back if I click or Alt+Tab back into it.
Actual results
Flutter apps do not follow this pattern.
Code sample
Widget build(BuildContext context) {
return TextField();
}Screenshots or Video
GIF demonstration
Here's a recording of a Chrome window, as an example of how Flutter should behave:

I've already implemented a fix and have opened a pull request: #142930
Metadata
Metadata
Assignees
Labels
r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue