Skip to content

Commit 6739af2

Browse files
authored
fix: the aa menu disappear after clicking the inactive indent itemg (#4390)
1 parent c41a7aa commit 6739af2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mention/mention_page_block.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class _MentionPageBlockState extends State<MentionPageBlock> {
7070
if (view == null) {
7171
return const SizedBox.shrink();
7272
}
73-
updateSelection();
73+
// updateSelection();
7474
final iconSize = widget.textStyle?.fontSize ?? 16.0;
7575
return Padding(
7676
padding: const EdgeInsets.symmetric(horizontal: 2),

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/util.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class MobileToolbarMenuItemWrapper extends StatelessWidget {
8181

8282
return GestureDetector(
8383
behavior: HitTestBehavior.opaque,
84-
onTap: onTap,
84+
onTap: enable == false ? null : onTap,
8585
child: Stack(
8686
children: [
8787
Container(

0 commit comments

Comments
 (0)