handsontable
handsontable copied to clipboard
Comments don't disappear after re-validating cell
Description
The issue occurs when we call removeCommentAtCell
asynchronously, it should cancel the timer for displayDelay
otherwise, we end up with an empty comment box.
Steps to reproduce
- Click on the call to edit the first cell
- Leave mouse on that cell
- Start editing by typing on the keyboard
- Enter invalid data (change from number to string)
- Press Enter
- Cell should go invalid - move the mouse away and re-enter cell to show comment
- Make cell valid by following above steps 3 to 5
- Cell should go valid, but you should now see an empty comment
https://user-images.githubusercontent.com/92314130/189915838-8a87d14a-3338-4cf2-b745-d5f84371231c.mov
Demo
https://jsfiddle.net/futp74wh/4/
Your environment
- Handsontable version: 12.1.2
- Browser name and version: Google Chrome 105
- Operating system: macOS 12.4
Inform ZD (30239)