handsontable icon indicating copy to clipboard operation
handsontable copied to clipboard

Comments don't disappear after re-validating cell

Open adrianszymanski89 opened this issue 2 years ago • 1 comments

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

  1. Click on the call to edit the first cell
  2. Leave mouse on that cell
  3. Start editing by typing on the keyboard
  4. Enter invalid data (change from number to string)
  5. Press Enter
  6. Cell should go invalid - move the mouse away and re-enter cell to show comment
  7. Make cell valid by following above steps 3 to 5
  8. 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

adrianszymanski89 avatar Sep 13 '22 13:09 adrianszymanski89

Inform ZD (30239)

adrianszymanski89 avatar Sep 13 '22 13:09 adrianszymanski89