Skip to content

[web] Keyboard does not show up with TextField on iOS #32763

@aloisdeniel

Description

@aloisdeniel

Steps to Reproduce

  1. Put a TextField in a flutter_web project
  2. Build and serve with webdev serve (make sure your firewall is open for the served address).
  3. Open the resulting website from an iOS device or simulator (Chrome or Safari).
  4. Tap on the field
  5. No keyboard is displayed to the user

Sample

issue_sample.zip

import 'package:flutter_web/material.dart';

void main() {
  runApp(IssueApp());
}

class IssueApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Material(
        child: MaterialApp(
      theme: ThemeData(
        platform: TargetPlatform.android,
      ),
      title: 'Issue',
      home: Page(),
    ));
  }
}

class Page extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return TextField();
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsplatform-webWeb applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions