Skip to content

Disable of Drag & Drop for custom Toolbars #56

@AlexanderPhilipp

Description

@AlexanderPhilipp

Is your feature request related to a problem? Please describe.
When using a custom toolbar, I want to disable/override the default drag & drop behavior of the PDFVIewer. Before the deprecation of the RPDefaultLayout there was the slots props which allowed for deactivation. Now they have been moved to the RPHorizontalBar/RPVerticalBar.

Describe the solution you'd like
I would like to have a flag/slots inside the RPLayout to disable Drag & Drop for the viewer

Describe alternatives you've considered
Maybe you could adjust the useDropFileZoneContext in a way that it actually overrides the drag & drop behavior instead of just having an extra drop zone.

Additional context
Maybe im missing something here but I really can't figure out how you would disable the Drag & Drop behavior while having a custom toolbar.

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