Is there a way to prevent comment box from showing up on mouseover?

Hey everyone,

I would like for comment boxes to only show when the user selects “add comment” or “edit comment” in the context menu. Is this possible?

Thank you for your assistance!

A

Okay, here is the email I received from the awesome support team at HandsonTable:

Yes, there is a way to block showing comments on a hover effect. You only need to call stopImmediatePropagation() function inside the beforeOnCellMouseOver event, as shown below

beforeOnCellMouseOver: function(e){
e.stopImmediatePropagation()
}

and here is a working demo: Handsontable example - JSFiddle - Code Playground

Works like a charm!

Thank you for the nicest comment ever :slight_smile:
I am closing this issue.

1 Like