Good day I have a custom annotation popup menu buttons like so:
this.instance.UI.annotationPopup.update([
{
type: 'actionButton',
title: 'Add Comment',
img: '/img/icon-comment-text.svg',
onClick: () => {
console.log('Add Comment clicked')
},
},
])
So when I select annotation, the annotation popup is shown with my custom action buttons. It works flawlessly, except that after clicking the annotation popup menu stays on the screen (the annotation is selected). How do I hide annotation menu after the button is clicked? Deselecting annotations via deselectAllAnnotations
doesnβt seem to help.