Skip to content

EditableText does not update TextSelectionOverlay when its configuration changes #142077

@Hixie

Description

@Hixie

The EditableText parameters selectionControls, dragStartBehavior, onSelectionHandleTapped, contextMenuBuilder, and magnifierConfiguration are passed on to the TextSelectionOverlay but the overlay is not updated when the widgets' configuration changes so those values remain stale.

For example, if you set a contextMenuBuilder on a TextField, then change the builder, the old builder will continue to be used until the selection gets reset (which for some reason seems to happen when you unfocus then refocus the field).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions