Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kendoDragHandle does not specify a concrete drag handle when nested #4447

Open
mbechev opened this issue Nov 5, 2024 · 0 comments
Open

kendoDragHandle does not specify a concrete drag handle when nested #4447

mbechev opened this issue Nov 5, 2024 · 0 comments

Comments

@mbechev
Copy link
Contributor

mbechev commented Nov 5, 2024

Description

If the kendoDragHandle directive is being applied to a nested element it no longer specifies the drag handle correctly.

Steps To Reproduce

Notice that the whole container is a drag handler:
https://stackblitz.com/edit/angular-vnhjqm-dxtxkv

Actual Behavior

In this case, the button should be the only drag handle, but since it is wrappend in <div> the whole container is draggable.

<div kendoDragTarget *ngIf="currentBox === dropTarget" class="my-drag">
    <div>
        <button
            kendoButton
            kendoDragHandle
            [svgIcon]="moveIcon"
            fillMode="flat"
         ></button>
       </div>
       Drag
</div>

Expected Behavior

Only the button should be a drag handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant