Skip to content

CupertinoSearchTextField placeholder should resize as the text field resizes instead of being closed over #154648

@victorsanni

Description

@victorsanni

Use case

If a CupertinoSearchTextField is made to resize (for example, in a scroll view), the placeholder text should move as the search bar resizes instead of being closed over.

Native Search Bar

native.search.bar.opacity.mov

Flutter CupertinoSearchTextField

flutter.search.bar.opacity.mov

CupertinoSearchTextField uses CupertinoTextField behind the scenes, so this will probably require changes in CupertinoTextField:

Flutter CupertinoTextField

flutter.cupertino.textfield.opacity.mov

Proposal

Match the native text field/search bar resizing behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betterc: proposalA detailed proposal for a change to Flutterf: cupertinoflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions