Merge pull request #586 from tsuiyuenhong/bugfix/fix_create_button_hittest_bug

bugfix: click on the edge of the `add_button` that create the document does not respond to event
This commit is contained in:
Nathan.fooo 2022-07-04 11:05:46 +08:00 committed by GitHub
commit d090a813a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,7 @@ class CreateItem extends StatelessWidget {
return FlowyHover(
style: config,
child: GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () => onSelected(pluginBuilder),
child: FlowyText.medium(
pluginBuilder.menuName,