Skip to content

SelectableRegion supported keyboard shortcuts should have feature parity with SelectableText #182628

Description

@Renzo-Olivares

SelectableRegion is missing the an actions mapping for the following intents:

  • DoNothingAndStopPropagationTextIntent
  • ReplaceTextIntent
  • UpdateSelectionIntent
  • DirectionalFocusIntent
  • DismissIntent
  • DeleteCharacterIntent
  • DeleteToNextWordBoundaryIntent
  • DeleteToLineBreakIntent
  • ExtendSelectionByPageIntent
  • ExtendSelectionToNextParagraphBoundaryIntent
  • ExtendSelectionVerticallyToAdjacentPageIntent
  • ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent
  • ScrollToDocumentBoundaryIntent
  • ScrollIntent
  • PasteTextIntent
  • TransposeCharactersIntent
  • EditableTextTapOutsideIntent
  • EditableTextTapUpOutsideIntent

The intents below are not relevant for static text as they mutate the text:

  • ReplaceTextIntent
  • UpdateSelectionIntent
  • DeleteCharacterIntent
  • DeleteToNextWordBoundaryIntent
  • DeleteToLineBreakIntent
  • PasteTextIntent
  • TransposeCharactersIntent

The intents below are relevant to static text:

  • DirectionalFocusIntent
    • An intent representing moving to the next focusable node in the forward or backwards direction.
  • DismissIntent
    • Should dismiss the text selection context menu.
  • ExtendSelectionToNextParagraphBoundaryIntent
    • Extends the selection to the next paragraph boundary in the forward or backward direction.
  • ExtendSelectionVerticallyToAdjacentPageIntent
    • Extends the selection vertically to the next page boundary.
  • ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent
    • Extends the selection to the next paragraph boundary in the forward or backward direction, or returns to the caret location if order of base and extent reverses.
  • ScrollToDocumentBoundaryIntent
    • Scrolls to the beginning /or end of content.
  • ScrollIntent
    • Scrolls the document by page in the forward or backward direction.
  • EditableTextTapOutsideIntent
    • Represents a tap outside of a text field, selectable region similarly needs one that represents a tap outside of a selectable region.
  • EditableTextTapUpOutsideIntent
    • Represents a tap up outside of a text field, selectable region similarly needs one that represents a tap up outside of a selectable region.

Intents that have no use in the framework:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-text-inputOwned by Text Input teamtriaged-text-inputTriaged by Text Input team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Updated

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions