Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] keyboard will not popup when tap with empty text #754

Open
ganluo960214 opened this issue Apr 1, 2024 · 0 comments
Open

[Bug] keyboard will not popup when tap with empty text #754

ganluo960214 opened this issue Apr 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ganluo960214
Copy link

ganluo960214 commented Apr 1, 2024

Bug Description

keyboard will not popup when tap with empty text

How to Reproduce

just tap.

Expected Behavior

the keyboard pop

Operating System

android

AppFlowy Editor Version(s)

2.3.3

Screenshots

Recording.2024-04-01.183655.mp4

Additional Context

import 'package:appflowy_editor/appflowy_editor.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const Scaffold(
        body: SafeArea(
          child: Demo(),
        ),
      ),
    );
  }
}

class Demo extends StatefulWidget {
  const Demo({super.key});

  @override
  State<Demo> createState() => _DemoState();
}

class _DemoState extends State<Demo> {

  final editorState = EditorState(document: Document.blank(withInitialText: true));

  @override
  Widget build(BuildContext context) {
    return AppFlowyEditor(editorState: editorState);
  }
}
@LucasXu0 LucasXu0 added the bug Something isn't working label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants