AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

Open
#754 0 comments 1 reaction 0 assignees View on GitHub
bug p1
Dominant language
Dart
Stars
684
Forks
329
PR merge metrics
No merged PRs in 30d

Description

### 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

https://github.com/AppFlowy-IO/appflowy-editor/assets/8499204/03fa3c3d-36a8-43e9-913d-10e443629e98

### Additional Context

```dart
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 createState() => _DemoState();
}

class _DemoState extends State {

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

@override
Widget build(BuildContext context) {
return AppFlowyEditor(editorState: editorState);
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.