Open
Description
Whenever the model is updated I want to execute the FitToScreenAction
. Currently I do this on the server side by implementing IModelUpdateListener
and dispatching a FitToScreenAction
(like in the flow example). This does seem to work sometimes, but often nothing happens.
The issue seems to be caused by a race between the FitToScreenAction
and the InitializeCanvasBoundsAction
. Because the FitToScreenAction
depends on the canvas bounds, whenever the client receives the FitToScreenAction
before the InitializeCanvasBoundsAction
is executed, the model does not get fit to the screen.
Metadata
Metadata
Assignees
Labels
No labels