firebase-tools-ui
firebase-tools-ui copied to clipboard
Window for adding or editing firestore data closes unexpectedly
Describe the bug
When using the firestore emulator UI to edit data in firestore, the window that appears when you click the + or pencil icon next to a field closes unexpectedly after a few seconds (1-5seconds), as if the cancel button was pressed.
This seems to happen only when editing a nested field or adding a nested field to an existing field.
To Reproduce Steps to reproduce the behavior:
- Start the emulator with existing data (../latest is an export from firebase which is roughly 12MB large)
firebase emulators:start --only firestore,auth,functions --import ../latest
- Open the Emulator UI and go to Firestore > data
- Open a document which contains nested fields
- Click on the pencil icon in a nested field (i.e. a field in a map field)
- Wait a couple seconds and the edit window closes
Expected behavior The edit window does not close unless I click 'cancel', 'save' or click outside of it.
Screenshots
Example of the window which suddenly closes
Desktop:
- OS: Linux DESKTOP-L9UI1M3 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
- Browser : Chome Version 114.0.5735.248 (Official Build) (64-bit) and also tested in Edge Version 115.0.1901.188 (Official build) (64-bit)
- firebase --version: 12.4.7