Skip to content

[web] - Don't unconditionally call SemanticsTextEditingStrategy.instance.deactivate() #122131

@htoor3

Description

@htoor3

Steps to Reproduce

We are calling SemanticsTextEditingStrategy.instance.deactivate() unconditionally inside text_field.dart, however, this can lead to errors if instance is null. Further investigation needed to determine what cases are leading to us calling deactivate() before initializing the instance.

Relevant code path

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: samehereengineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions