Skip to content

[Selection] SelectionArea keyboard arrow key shortcut does not work #104541

Closed

Description

@chunhtai

Steps to Reproduce

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

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

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: SelectionArea(
        child: Scaffold(
          appBar: AppBar(title: const Text(_title)),
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: const <Widget>[
                Text('Row 1'),
                Text('Row 2'),
                Text('Row 3'),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
  1. use mouse to select some text
  2. try to use arrow key to change the selection

none of them work at the moment

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    f: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIs
    on May 24, 2022
  2. nilsreichardt commented on May 24, 2022

    @nilsreichardt
    Contributor

    Here is a demo of the arrow keyboard selecting in HTML:

    Screen.Recording.2022-05-25.at.00.43.27.mov
  3. added
    a: text inputEntering text in a text field or keyboard related problems
    c: new featureNothing broken; request for a new capability
    a: typographyText rendering, possibly libtxt
    c: proposalA detailed proposal for a change to Flutter
    and removed
    a: typographyText rendering, possibly libtxt
    on May 25, 2022
  4. added
    P3Issues that are less important to the Flutter project
    P2Important issues not at the top of the work list
    and removed
    P3Issues that are less important to the Flutter project
    on May 25, 2022
  5. self-assigned this
    on Aug 25, 2022
  6. github-actions commented on Nov 18, 2022

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsframeworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions