MudBlazor/MudBlazor

MudDropZone view not updating when items changed

开放

#4,642 创建于 2022年5月20日

 (6 条评论) (1 个反应) (0 位负责人)C# (1,631 个派生)batch import
bughas workaroundhelp wanted

仓库指标

星标
 (10,394 个星标)
PR 合并指标
 (平均合并 6天 6小时) (30 天内合并 108 个 PR)

描述

Bug type

Component

Component name

MudDropZone

What happened?

When using MudDropZone to create a kanban like view, the dropzone view doesn't update correctly when items have chanaged. I have a "revert" button which restore a previous state of items in the dropzone, even after calling refresh on the MudDropContainer the view doesn't update. It only updates after starting a new transaction.

Expected behavior

The dropzone view updates given the new items. Items would be in the correct dropzone given their identifier.

Reproduction link

https://try.mudblazor.com/snippet/cEmmkpQuJwAATtFJ

Reproduction steps

  1. Move the "hello" item in "Queue1" dropzone
  2. Click "Revert" (nothing updates)
  3. Click on the "hello" item (Item jump to correct dropzone)

Relevant log output

No response

Version (bug)

6.0.5

Version (working)

No response

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

On what operating system are you experiencing the issue?

Windows

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct

贡献者指南