Skip to content

Copy/Paste menu should disable Paste if clipboard is empty #4355

@jimbeveridge

Description

@jimbeveridge

When Flutter shows the Copy/Paste toolbar, the Paste option is available even if the clipboard is empty. (I tested this in the codelab.) According to the Material Design Spec:

Menu items which are relevant but need certain conditions to be met may be disabled.

Although the spec says "MAY", I've never seen an app that allows you to tap Paste if the clipboard is empty.

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityf: cupertinoflutter/packages/flutter/cupertino repositoryf: material designflutter/packages/flutter/material repository.frameworkflutter/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