sanity-io / assist

Sanity AI Assist: A plugin for Sanity Studio
MIT License
13 stars 5 forks source link

AI Assist opens in background, unreachable when inside popover/overlay #26

Open bramdoppen opened 7 months ago

bramdoppen commented 7 months ago

Describe the bug

It's a visual bug. When opening the AI Assist from a popover, it is opening in the 'background'. You can't access it. You have to close the popover/overlay first.

To Reproduce

Steps to reproduce the behavior:

  1. Go to any page that has a modal/array/overlay in the schema
  2. Click on the button to open the AI assist
  3. See the AI assist appear in the background, but you can't access it unless you close the overlay.

Expected behavior

As a user, it is unclear that the AI assist has opened. I would expect that I can interact with the AI assist panel on top of the overlay.

Screenshots

image

Which versions of Sanity are you using? @sanity/assist 1.2.16 (up to date) @sanity/image-url 1.0.2 (up to date) @sanity/table 1.1.2 (up to date) @sanity/ui 2.0.1 (up to date) @sanity/vision 3.27.1 (up to date) sanity 3.27.1 (up to date)

What operating system are you using? macos 14.2.1 (23C71)

Which versions of Node.js / npm are you running? node v18.17.0 npm 9.6.7