MudBlazor/MudBlazor

Only allow dragging elements on a subelement (for example an icon)

開放

#7,717 建立於 2023年10月31日

 (3 則留言) (6 個反應) (0 位負責人)C# (1,631 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (10,394 顆星)
PR 合併指標
 (平均合併 6天 6小時) (30 天內合併 108 個 PR)

描述

Feature request type

Enhance component

Component name

DropZone

Is your feature request related to a problem?

The users should see that and where they can grab the item to move it

Describe the solution you'd like

I'd like to have a property named something like "DragElementSelector" where i can give a class to a sub-element of for example an icon. Only when the users cursor is on that Element he should be able to drag the item.

Have you seen this feature anywhere else?

No response

Describe alternatives you've considered

Maybe it could also be done via OnStartDrag event where i could check if the clicked element has a specific class and abort the action otherwise .

Pull Request

  • I would like to do a Pull Request

Code of Conduct

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

貢獻者指南