Skip to content

[Regression]: Keyboard dismisses immediately when textfield gets focus and upon scrolling using keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.onDrag #160331

@priyankabambharoliya-official

Description

After updating Flutter to 3.27.0, the issue occurs when we use keyboard dismiss behaviour on drag in SingleChildScrollView
keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.onDrag

we cant write anything, and keyboard don't stay active on textfiled.

how to fix this issue?

see this video

Screen.Recording.2024-12-16.at.11.04.09.AM.mov

Originally posted by @priyankabambharoliya-official in #154675 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: text inputEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowfound in release: 3.27Found to occur in 3.27found in release: 3.28Found to occur in 3.28frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-text-inputOwned by Text Input teamtriaged-text-inputTriaged by Text Input team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions