fix: the aa menu disappear after clicking the inactive indent itemg (#4390)

This commit is contained in:
Lucas.Xu 2024-01-15 15:39:04 +08:00 committed by GitHub
parent c41a7aaacf
commit 6739af2be1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class _MentionPageBlockState extends State<MentionPageBlock> {
if (view == null) {
return const SizedBox.shrink();
}
updateSelection();
// updateSelection();
final iconSize = widget.textStyle?.fontSize ?? 16.0;
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 2),

View File

@ -81,7 +81,7 @@ class MobileToolbarMenuItemWrapper extends StatelessWidget {
return GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: onTap,
onTap: enable == false ? null : onTap,
child: Stack(
children: [
Container(