Skip to content

Customizing the drag handler #69

Open
@Langstra

Description

@Langstra

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

When making a dialog draggable it receives a default drag handler.

Expected behavior

Even though we can style it using css, it would be useful in certain situations (and semantically more correct) to have a custom drag handler specified in the Component or template itself.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Wanting the drag handler in a different place.

Having an overflowing/scrolling modal where the drag handler needs to be something fixed in the header of the dialog.

Solution direction

There is a dialogDragHandle on the DialogDraggableDirective, but I do not know how we could use that one. Since it is not accessible from the component or through the ref.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions