Skip to content

[iOS] Improve CupertinoTextSelectionToolbar visual fidelity #127756

@luccasclezar

Description

@luccasclezar

Is there an existing issue for this?

Use case

CupertinoTextSelectionToolbar is very different from the native implementation, some problems are:

  1. When changing pages, the whole content fades to the divider color instead of the actual background color;
  2. Font size should be slightly bigger
  3. There's no horizontal scroll to change pages
  4. The whole layout instantly changes width when changing pages
  5. The last page shows a disabled nextButton, when natively the button is hidden on the last page.

Here is a comparison between the current flutter cupertino toolbar and the native one.

Flutter Native
old.mov
native.mov

Proposal

Flutter should improve these areas to have a better toolbar on iOS.

The good news is that I'm requesting to be assigned this issue as I already fixed all these problems and will be creating a PR shortly. 😁

Metadata

Metadata

Assignees

Labels

a: fidelityMatching the OEM platforms bettera: text inputEntering text in a text field or keyboard related problemsc: proposalA detailed proposal for a change to Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryf: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsframeworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions