prisma / studio

🎙️ The easiest way to explore and manipulate your data in all of your Prisma projects.
https://www.prisma.io/studio
1.81k stars 45 forks source link

No way to get out of error in browser but to refresh the page. #1216

Open joelrb opened 3 months ago

joelrb commented 3 months ago

Bug description

Adding a record but the id I entered does not exist in another table. Error occurs because of relation.

But I can't get out of this error. I have to refresh the page.

Screenshot 2024-03-05 012102

How to reproduce

Expected behavior

Able to close the error without refreshing the page.

Prisma information

Environment & setup

Screenshot of page where the problem happened (if applicable)

Screenshot 2024-03-05 012102

Prisma logs

No response

janpio commented 3 weeks ago

Doesn't clicking next to the error close the modal?

joelrb commented 2 weeks ago

Doesn't clicking next to the error close the modal?

Nope. Nothing happens. Doesn't close clicking anywhere inside and outside the modal. The error is just too long or the modal is very narrow, it should auto set the modal width based on the content.