Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TextInputAction.next doesn't work in lists with IconButton #94414

Closed
Assignees
HansMuller
Labels
a: text inputEntering text in a text field or keyboard related problemsf: focusFocus traversal, gaining or losing focusf: material designflutter/packages/flutter/material repository.found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6frameworkflutter/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 version
@gcostaapps

Description

@gcostaapps

In a list ofRows withTextFormFields andIconButtons theTextInputAction.next doesn't work becauseIconButton doesn't haveskipTransversal property. There was an oldissue andPR for adding this property but I think it was removed.

Steps to Reproduce

Can be tested pressing Enter key in thisDartPad.

ListView.builder(                itemCount: 5,                itemBuilder: (context, index) {                  return Row(                    crossAxisAlignment: CrossAxisAlignment.start,                    children: [                      Expanded(                        child: TextFormField(                          initialValue: index.toString(),                          textInputAction: TextInputAction.next,                        ),                      ),                      IconButton(                        padding: EdgeInsets.zero,                        iconSize: 20,                        icon: Icon(                          Icons.delete_outline_rounded,                          size: 20,                        ),                        splashRadius: 20,                        onPressed: () {},                      ),                    ],                  );                },              )

Expected results:
TextFields should pass focus to the next text field

Actual results:
The TextField focused only looses its focus

Running on stable 2.5.3

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsf: focusFocus traversal, gaining or losing focusf: material designflutter/packages/flutter/material repository.found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6frameworkflutter/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 version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp