keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

'has-many' Relationship panel is empty on Firefox

Open GrumpyPirate opened this issue 1 year ago • 3 comments

I've noticed that the preview panel for a collection item's relationships doesn't render at all on Firefox, but seems fine on Chrome.

For this example, I have a simple Story -> Chapter * n -> Page * n content structure.

Before adding any relations is fine: image

After adding some relations (Chapter -> Pages, in this example), nothing is displayed. Below is the result of adding two existing chapters, but not yet pressing 'Create': image

The chapters do actually get added (confirmed by looking at the relations in the Chapter's mdoc entry) just nothing is rendered in the panel at all in the UI. Here's the result after hitting 'Create': image

In Chrome, however, everything displays fine: image

GrumpyPirate avatar Dec 05 '24 12:12 GrumpyPirate

I'm not able to reproduce this, could you share a GitHub repo with a minimal project where this happens?

emmatown avatar Dec 09 '24 06:12 emmatown

Absolutely, here:

https://github.com/GrumpyPirate/firefox-has-many-issue-repo

Setup instructions are in the repo ❤️

GrumpyPirate avatar Dec 18 '24 15:12 GrumpyPirate

#1384 I think this is related to this, it is probably resolved by latest version of firefox.

linkb15 avatar Jan 16 '25 11:01 linkb15