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
I've set up a gallery that contains a list of images. When I edit an existing image and click anywhere on the image, the dialog closes. This happens both with normal clicks and right-clicks, and already happens when you press one of the mouse buttons, so it seems like something is listening to mousedown or pointerdown events.
This happens consistently on Safari and semi-consistently on Chrome.
The video below demonstrates the issue in Safari:
CleanShot.2024-12-29.at.18.53.27.mp4
To Reproduce
Here's my gallery schema. I've simplified it a bit for reproduction purposes:
Describe the bug
I've set up a gallery that contains a list of images. When I edit an existing image and click anywhere on the image, the dialog closes. This happens both with normal clicks and right-clicks, and already happens when you press one of the mouse buttons, so it seems like something is listening to
mousedown
orpointerdown
events.This happens consistently on Safari and semi-consistently on Chrome.
The video below demonstrates the issue in Safari:
CleanShot.2024-12-29.at.18.53.27.mp4
To Reproduce
Here's my gallery schema. I've simplified it a bit for reproduction purposes:
And here's my config. I'm using the internationalized-array plugin to localize fields:
Expected behavior
When I click anywhere on the uploaded image, the dialog should stay open so I can take action.
Which versions of Sanity are you using?
What operating system are you using?
macOS Sequoia 15.2, on Safari.
Which versions of Node.js / npm are you running?
The text was updated successfully, but these errors were encountered: