AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

未关闭
#754 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug p1
主要语言
Dart
星标
684
派生
329
PR 合并指标
30 天内没有已合并 PR

描述

### 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);
}
}
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。