Skip to content

TextField should vibrate when changing the selection on Android #104640

@nilsreichardt

Description

@nilsreichardt

Description

When changing the selection in a native Android text field, the phone vibrates of every character move. I tried to show this in the video. You need to make sure the sounds really loud to hear the vibration.

IMG_0025.MOV

This is also a setting which can be turned off in the system settings. To reproduce the behavior, make sure you enabled the vibrations.

telegram-cloud-photo-size-2-5219966324162279774-y

Phone: I used a Google Pixel 4a with Android 12.
Flutter Version: 3.1.0-0.0.pre.904

My code
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(),
        ),
      ),
    );
  }
}

This ticket is also related to #104551

Metadata

Metadata

Labels

a: text inputEntering text in a text field or keyboard related problemse: device-specificOnly manifests on certain devicesf: material designflutter/packages/flutter/material repository.found in release: 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid 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