Repository: flutter
Issue: EditableText blocked PointerEvent after dismissed in IOS with apple pencil supported
Labels: a: text input,e: device-specific,platform-ios,framework,a: internationalization,f: focus,P3,team-ios,triaged-ios

### Steps to reproduce （only on ios)

the follow has fullscreen GestureDetector, which should be able get tap wherever you touch the screen;  but with the following operation, the red are in center will stop response to tap;
reproduce step
1. tap red area => the area will change to green to show EditableText;
2. click green area to focus the EditableText, then keyboard is displayed on the screen;
3. input one character (Chinese character) and then fold the keyboard with  bottom-right key on keyboard
4. click white area again to dismiss the EditableText;
5. click the red area, it should change to green,  but it is still red with keyboard popup

note: in step 3, you should input Chinese character (maybe CJK character also reproduce able)

### Expected results

int step 5, it should change to green;

### Actual results

nothing happened

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomInset: false,
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body:const  Center(
        child: MyWidget(),
      ),
    );
  }
}

class MyWidget extends StatefulWidget {
  const MyWidget({super.key});

  @override
  State<MyWidget> createState() => _MyWidgetState();
}

class _MyWidgetState extends State<MyWidget> {
  final TextEditingController _controller = TextEditingController();
  bool showText = false;
  @override
  Widget build(BuildContext context) {
    var text = showText
        ? ColoredBox(
            color: Colors.green,
            child: EditableText(
              maxLines: null,
              minLines: 2,
              focusNode: FocusNode(),
              controller: _controller,
              style: const TextStyle(
                fontSize: 20,
                color: Colors.black,
              ),
              cursorColor: Colors.black,
              backgroundCursorColor: Colors.black,
            ),
          )
        : null;
    return GestureDetector(
      behavior: HitTestBehavior.opaque,
      onTap: () {
        setState(() {
          showText = !showText;
        });
      },
      child: SizedBox.expand(
        child: Center(
          child: Container(
            width: 400,
            height: 400,
            color: Colors.red,
            child: text,
          ),
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

version of flutter  3.13 and 3.16 . 3.10 is ok;