mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Query editor in draft state closes after switching tabs #1742

Closed Janpot closed 1 year ago

Janpot commented 1 year ago

Duplicates

Latest version

Steps to reproduce 🕹

This issue concerns the branch https://github.com/mui/mui-toolpad/pull/1651

  1. click add query
  2. select "serverside HTTP request"
  3. switch tabs
  4. switch back to the editor

https://user-images.githubusercontent.com/2109932/224776392-3f7b2267-c4c6-466c-a27f-7c3acb62b492.mov

Current behavior 😯

The query editor closes

Expected behavior 🤔

The query editor is still open

Context 🔦

No response

Your environment 🌎

No response

apedroferreira commented 1 year ago

Argh, I can take a look at it.

Janpot commented 1 year ago

@apedroferreira I thought at first it was related to the recent router changes, but it doesn't seem to happen on master

apedroferreira commented 1 year ago

@apedroferreira I thought at first it was related to the recent router changes, but it doesn't seem to happen on master

Ok, I thought so too, I can take a deeper look later anyway.