Repository: flutter
Issue: Text selection issue with SelectionArea and horizontal SingleChildScrollView
Labels: framework,has reproducible steps,P2,f: selection,found in release: 3.3,found in release: 3.4,team-framework,triaged-framework

## Steps to Reproduce

Run the attached code sample.

**Expected results:** The second text should be selectable from any start point.

**Actual results:** The second text is not selectable from any point to the left of the above SingleChildScrollView depending on the window size. I also have the same problem with points to the right of SingleChildScrollView but not always. This occurs at least on the web and Windows, but I haven't tested it on other OS.

<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    List<Widget> articleItems = [
      Center(
          child: SingleChildScrollView(
              scrollDirection: Axis.horizontal,
              child: Container(
                  color: Colors.grey,
                  child: const Text(
                    "This is the text in the horizontal SingleChildScrollView. I add a new sentence to get it longer.",
                  )))),
      const Text(
          "LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG Next Text LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG")
    ];
    return SelectionArea(
        child: Scaffold(
            body: ListView.separated(
                separatorBuilder: (BuildContext context, int index) {
                  return const SizedBox(height: 4);
                },
                shrinkWrap: true,
                padding: const EdgeInsets.only(bottom: 8),
                itemCount: articleItems.length,
                itemBuilder: (BuildContext context, int index) {
                  return articleItems[index];
                })));
  }
}

```

</details>

<details>
  <summary>Output of: flutter doctor -v</summary>

```
Flutter 3.3.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4f9d92fbbd (7 days ago) • 2022-09-06 17:54:53 -0700
Engine • revision 3efdf03e73
Tools • Dart 2.18.0 • DevTools 2.15.0

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.1, on Microsoft Windows [Version 10.0.19044.1889], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Community Edition (version 2022.1)
[√] VS Code (version 1.71.0)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!
```
</details>

https://user-images.githubusercontent.com/95095345/189975588-f78be565-ef06-4871-a79c-df0954b40b7e.mp4