Skip to content

TextField should vibrate when moving the cursor on Android #104639

@nilsreichardt

Description

@nilsreichardt

Description

When moving the cursor 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_0029.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(),
        ),
      ),
    );
  }
}
Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsf: 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.platform-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