canRedo()/canUndo() return wrong result

Hi all,
https://gojs.net/latest/intro/commands.html#UpdatingCommandUI, the problem I encountered also exist in this sample, reproduce steps:

  1. Drag one node in this sample
  2. Click undo button
  3. (Wrong) Mouse move on the redo button and can’t click, but you can use Ctrl+Y to redo.

The enableAll() have been called and event.propertyName = "FinishedUndo", and at that time, the canRedo() return false.

This problem does not exist on 1.7.23

I narrowed the scope, the problem is between 1.8.2 & 1.8.3

Thanks for reporting this. We’ll investigate.

Try the 1.8.8 beta that is in https://gojs.net/beta.

https://gojs.net/latest/intro/commands.html#UpdatingCommandUI, it works well now.