Which Umbraco.Community.BlockPreview version are you using?
4.0.3
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
16.2.0
Bug summary
I've noticed that, e.g., during a drag operation, there will be a re-rendering from the server even if the content did not change. This re-rendering has a timeout of 500ms, which is kind of noticeable.

Steps to reproduce
Drag and drop blocks that are rendered on the server
Expected result / actual result
I would be interested in helping explore options here and maybe contributing a PR around this, but I was hoping for some context to avoid regressions.
Is there a special reason as to why the timeout is 500ms in the update method of the block-grid-preview.custom-view.element.ts?
I have not looked into the exact details, but in an ideal world, we would avoid having to re-render a block if nothing has changed. Is this something that has been considered and rejected, or do you think it would be worth exploring? I would be happy to if this is interesting on your end.
#h5yr!
Which Umbraco.Community.BlockPreview version are you using?
4.0.3
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
16.2.0
Bug summary
I've noticed that, e.g., during a drag operation, there will be a re-rendering from the server even if the content did not change. This re-rendering has a timeout of 500ms, which is kind of noticeable.
Steps to reproduce
Drag and drop blocks that are rendered on the server
Expected result / actual result
I would be interested in helping explore options here and maybe contributing a PR around this, but I was hoping for some context to avoid regressions.
Is there a special reason as to why the timeout is
500msin the update method of theblock-grid-preview.custom-view.element.ts?BlockPreview/src/Umbraco.Community.BlockPreview.UI/src/blockEditor/block-grid-preview.custom-view.element.ts
Line 113 in 03eeb03
I have not looked into the exact details, but in an ideal world, we would avoid having to re-render a block if nothing has changed. Is this something that has been considered and rejected, or do you think it would be worth exploring? I would be happy to if this is interesting on your end.
#h5yr!