mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: popover onOpen not triggered by manual show
This commit is contained in:
parent
fd3f850d63
commit
111989c96c
@ -186,7 +186,10 @@ class FileBlockComponentState extends State<FileBlockComponent>
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onTap: url != null && url.isNotEmpty
|
||||
? () => afLaunchUrlString(url)
|
||||
: controller.show,
|
||||
: () {
|
||||
controller.show();
|
||||
dropManagerState.add(FileBlockKeys.type);
|
||||
},
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
color: isHovering
|
||||
|
Loading…
Reference in New Issue
Block a user