Skip to content

External drag preview is offset after page scroll when dragging fExternalItem #5

@NikolasPetropoulos

Description

@NikolasPetropoulos

Hello, I found a drag-and-drop positioning issue with external items.

When the page is scrolled, grabbing an item with fExternalItem starts the drag preview in a lower position than the item/cursor. The offset increases with scroll, so it looks like scroll coordinates are being applied incorrectly during preview positioning.

This is reproducible in your own example/demo as well.

Steps to reproduce:

  • Open the Foblex f-flow-example demo.
  • Make the browser window height smaller so the page becomes scrollable.
  • Scroll down the page.
  • Start dragging an external item from the palette.

Actual result:
The dragged preview appears lower than the original item/cursor position (vertical offset after scroll).

Expected result:
The dragged preview should start exactly from the item position under the cursor, regardless of page scroll.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions