how to close context menu by click into AuxiliaryPreview?
fukemy opened this issue · comments
Hi, i want to display AuxiliaryPreview as message reaction, click to choose reaction then close context menu, but in document i didnt see any method related, can u help?
Hi, you can can programmatically close the context menu via calling dismissMenu
.
Search for the keyword "dismiss" in the docs, or take a look at ContextMenuView
Test 08 for some example code + gif.
hope this helps, xx
thanks, it's worked