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,
|
behavior: HitTestBehavior.translucent,
|
||||||
onTap: url != null && url.isNotEmpty
|
onTap: url != null && url.isNotEmpty
|
||||||
? () => afLaunchUrlString(url)
|
? () => afLaunchUrlString(url)
|
||||||
: controller.show,
|
: () {
|
||||||
|
controller.show();
|
||||||
|
dropManagerState.add(FileBlockKeys.type);
|
||||||
|
},
|
||||||
child: DecoratedBox(
|
child: DecoratedBox(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: isHovering
|
color: isHovering
|
||||||
|
Loading…
Reference in New Issue
Block a user