Skip to content

Dragging item resets to nil immediately after drop #219

@AryanRogye

Description

@AryanRogye

macOS Version

macOS Tahoe 26

Ora Browser Version

main branch

Describe the Issue

I was trying to see why the opacity would not apply while dragging and while debugging I noticed that draggedItem sometimes gets set correctly during the drag, but randomly becomes nil after the drop event.

Some Logs after attaching a onChange() on draggedItem in ContainerView

Logs

First case:

/// Just Dragged
Dragging Item: Optional(9AE8896C-24D0-4128-8829-1B525843B730)
/// Just Dropped
Dragging Item: nil

This is on second

/// Just Dragged
Dragging Item: Optional(024974B9-79C3-4AFF-8120-4293DAD494F0)
Dragging Item: nil
/// Just Droppped since nil nothing changes

Steps to Reproduce

just drag it, sometimes you can see that the opacity will apply sometimes it wont

Expected Behavior

opacity and border around the source item getting dragged should show up

Actual Behavior

No response

Console / Error Messages

Screenshots

| the red only shows up if isDragging

Screen.Recording.2026-03-09.at.4.17.53.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions