studio icon indicating copy to clipboard operation
studio copied to clipboard

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

Open joelrb opened this issue 11 months ago • 2 comments

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

  • Link to Data Browser instance:
  • OS: Windows
  • Browser: Edge
  • Database: PostgreSQL

Screenshot of page where the problem happened (if applicable)

Screenshot 2024-03-05 012102

Prisma logs

No response

joelrb avatar Mar 04 '24 17:03 joelrb

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

janpio avatar Jun 07 '24 14:06 janpio

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.

joelrb avatar Jun 15 '24 12:06 joelrb