Skip to content

[ios][ios17]Auto correction candidate menu button does not show up in iOS 17 #132594

@hellohuanlin

Description

@hellohuanlin

Is there an existing issue for this?

Steps to reproduce

  1. Create an empty project with a text field (or just use flutter/dev/integration_tests/ios_platform_view_tests
  2. Type a word with typo, then hit space. If the word is auto corrected, edit it and hit space again
  3. Hit backspace, the auto-correction prompt shows up. Notice that the buttons are not tappable.

Note that this is for both hardware and software keyboards.

Expected results

Buttons should be tappable

Actual results

Buttons not tappable

Code sample

import 'package:flutter/material.dart';

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  late TextEditingController _controller;

  @override
  void initState() {
    super.initState();
    _controller = TextEditingController();
    _controller.text = 'Flutter Text Field';
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Platform View Focus Tests'),
      ),
      body: Column(
        children: <Widget>[
          TextField(
            controller: _controller,
          ),
        ],
      ),
    );
  }


}


Screenshots or Video

Screenshot 2023-08-15 at 1 24 55 PM

Logs

NA

Flutter Doctor output

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyteam-iosOwned by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions