https://gojs.net/latest/intro/commands.html#UpdatingCommandUI, the problem I encountered also exist in this sample, reproduce steps:
- Drag one node in this sample
- Click undo button
- (Wrong) Mouse move on the redo button and can’t click, but you can use Ctrl+Y to redo.
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