Skip to content

SortableList elements show grab handle over entire element even when handle element is specified #1252

@Autoquark

Description

@Autoquark

Describe the bug
When hovering the cursor over a SortableList entry, the grab cursor is always used, implying that the element can be dragged around, even if the SortableList specifies a handle element which must be used to rearrange the list.

To Reproduce
Steps to reproduce the behavior:

  1. Create a .razor file with a SortableList that specifies a handle element. Populate the list with at least one entry
  2. Run in the browser and hover over part of the list entry other than the handle element. Notice that the grab hand cursor is shown even though that part of the element cannot be dragged

Expected behavior
The grab cursor is only shown when hovering an element that supports a drag and drop interaction

Versions (please complete the following information):

  • .NET Version: .NET 10
  • BlazorBootstrap: 3.5.0
  • Blazor WebAssembly / Server: WebAssembly
  • Blazor Interactive Render Mode: WebAssembly
  • Blazor Interactivity Location: Global

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version 145.0.7632.77

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions