Skip to content

Reference field automatically closes after clicking the Replace button #8686

Open
@danilo-arioli

Description

Describe the bug
When attempting to replace a reference, the field automatically closes if the user moves the mouse immediately after clicking the replace button. If the user keeps the mouse still after clicking, the field works as expected .

To Reproduce

  1. Initialize a new Sanity project
  2. Add a reference field
  3. Try to replace the value

Expected behavior
The field should remain open and allow the user to change the value regardless of mouse movement after clicking the button.

Screenshots

reference-field-issue.mov

Which versions of Sanity are you using?
3.75.1

What operating system are you using?
MacOS Monterey 12.6.5

Which versions of Node.js / npm are you running?
npm v.10.2.4
node v.18.19.1
pnpm v.9.15.3

Activity

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

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