firebase / firebase-tools-ui

A local-first UI for Firebase Emulator Suite.
https://firebase.googleblog.com/2020/05/local-firebase-emulator-ui.html
Apache License 2.0
274 stars 63 forks source link

Firestore: collapsed fields re-expand within seconds #1031

Open gregfenton opened 6 months ago

gregfenton commented 6 months ago

Describe the bug In the Firestore UI, collapsing a field on a Document only remains collapsed for a few seconds. This interferes with development and debugging work as fields are jumping around and an already limited data window is filled with unnecessary information.

To Reproduce Steps to reproduce the behavior:

  1. In Firebase Emulator UI, navigate to a Document in the Firestore Database that contains a field of type "map" or "array".
  2. Collapse the field's value so that only a single line is showing for that field value.
  3. Wait a few seconds (seems to be less than 10)
  4. Notice the UI refreshes such that the field's value is now re-expanded

Expected behavior The collapsed field remains collapsed as long as that Document remains the one being viewed.

Screenshots N/A

Desktop (please complete the following information):