If I resize the width of the viewport e.g. by snapping the browser window to a side or by resizing the dev-tools, the minimap doesn’t navigate towards the point that was clicked.
If the difference in width is somewhat high, I can’t even use the minimap to get back to the diagram. The larger the difference is, the larger is the discrepency between where I want to navigate and to where the minimap actually navigates.
Here’s a demo. I am not dragging the box which works but clicking which is the only option for naviation if the box is ouside the minimap. bpmn minimap navigation breaks after resize
If the page goes down in the future, you can still have a look at this gif
@Niklas_Kiefer did this help you? do you think it’s a bug? and if so do you want me to file the bug report at bpmn-js or at diagram-js-minimap or do you report the bug?
Thanks for sharing (and sorry for the late response)! In your gif it really looks buggy after resizing the window. I was not able to reproduce it on my machine though.
Indeed it would be great if you could open a bug issue and giving all the necessary details (steps to reproduce, adding your gif, your system information as os and browser). With this information, we can see how we can detect the root cause. Thanks already!
I submitted the bug at diagram-js-minimap. I also found out that clicking the minmap before resizing is key in order to reproduce it. Maybe that’s why you coudn’t reproduce it.