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

[Samsung][One UI 3] : Screen flickers on keyboard opening/closing and there is additional offset on top of the keyboard #75520

Closed
Labels
P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemse: OS-version specificAffects only some versions of the relevant operating systeme: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically
@lotusprey

Description

@lotusprey
  1. Almost every time the keyboard opens/closes, the whole screen flickers.
  2. When the keyboard is opened, although the scaffold takes all of the available space, its body doesn't - there is empty space below the content, as seen in the example. I noticed that locking and unlocking the phone makes that padding disappear.

OS:
Android 11, One UI 3 (Samsung device)

Flutter doctor:
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.789], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.52.1)
[√] Connected device (1 available)

Video example:
https://user-images.githubusercontent.com/35681808/106921957-2ead1000-6715-11eb-93d9-bdf42e02094d.mp4

Code for the example:

import 'package:flutter/material.dart';void main() => runApp(MyApp());class MyApp extends StatelessWidget {  @override  Widget build(BuildContext context) {    return MaterialApp(      title: 'Flutter Demo',      theme: ThemeData(        primarySwatch: Colors.blue,        visualDensity: VisualDensity.adaptivePlatformDensity,      ),      home: KeyboardTest(),    );  }}class KeyboardTest extends StatelessWidget {  @override  Widget build(BuildContext context) {    return Scaffold(      backgroundColor: Colors.purple,      appBar: AppBar(title: Text('Hello')),      body: Column(        mainAxisAlignment: MainAxisAlignment.spaceBetween,        children: [          Container(height: 200, width: 200, color: Colors.pink),          TextField(            decoration: const InputDecoration(              border: InputBorder.none,              filled: true,              fillColor: Colors.green,            ),          ),        ],      ),    );  }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemse: OS-version specificAffects only some versions of the relevant operating systeme: device-specificOnly manifests on certain devicesengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

    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