You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to replace components in a reference type field using the options in the right side of a component, upon clicking replace and moving the mouse the replace action is automatically closed
Screen.Recording.2024-11-06.at.16.04.00.mov
To Reproduce
Steps to reproduce the behavior:
Go to a schema that has a field of type reference
Click on the options (three dots to the right of the component title)
Select the replace option and, after clicking, move the mouse away from it outside of the pop over
See the replace action being cancelled
Expected behavior
I would expect the replace action to be started properly and wait for my input
Screenshots
added a video
Which versions of Sanity are you using?
Run sanity versions in the terminal and copy-paste the result here.
@sanity/cli 3.63.0 (up to date)
@sanity/dashboard 4.1.0 (up to date)
@sanity/ui 2.8.19 (up to date)
@sanity/vision 3.63.0 (up to date)
sanity 3.63.0 (up to date)
What operating system are you using?
IOS
Which versions of Node.js / npm are you running?
Run npm -v && node -v in the terminal and copy-paste the result here.
9.8.1 (npm)
v18.18.2 (node)
Additional context
Add any other context about the problem here.
I've updated to the latest version today from version 3.16.2
It was not noticed in the previous version
It happens in some reference selectors and not in others.
I've noticed that where it happens we also use custom validations.
However, removing those validations did not seem to fix the issue
The text was updated successfully, but these errors were encountered:
Hi, thank you for reporting and all the details added.
We can reproduce it internally and the bug has been added to triage. We note that this is only an issue when the cursor is moved quickly after selecting 'Replace'. Currently this issue can be avoided either briefly waiting after clicking the 'Replace' option, or by slowly moving the cursor.
Describe the bug
When trying to replace components in a
reference
type field using the options in the right side of a component, upon clickingreplace
and moving the mouse the replace action is automatically closedScreen.Recording.2024-11-06.at.16.04.00.mov
To Reproduce
Steps to reproduce the behavior:
reference
Expected behavior
I would expect the replace action to be started properly and wait for my input
Screenshots
added a video
Which versions of Sanity are you using?
Run
sanity versions
in the terminal and copy-paste the result here.What operating system are you using?
IOS
Which versions of Node.js / npm are you running?
Run
npm -v && node -v
in the terminal and copy-paste the result here.Additional context
Add any other context about the problem here.
I've updated to the latest version today from version
3.16.2
It was not noticed in the previous version
It happens in some reference selectors and not in others.
I've noticed that where it happens we also use custom validations.
However, removing those validations did not seem to fix the issue
The text was updated successfully, but these errors were encountered: