Skip to content
Discussion options

You must be logged in to vote

Hello @logan-brd , thank you for the stackblitz demo, it made the problem easy to reproduce.

This is a bug in the ngDiagram library: a size measured during the resize gesture can be applied after the gesture ends, overwriting the size your middleware sets. That is why the revert works when you resize slowly and pause before releasing the mouse button, but not when you release it while still moving. We already know how to fix it, and the fix will be included in the next ngDiagram version. We want to release it as soon as possible

A few additional topics below.

How you can achieve resize validation

Your idea with middleware is correct. This is the shape we recommend. Note that today it stil…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by logan-brd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants