skevy / graphiql-app

Light, Electron-based Wrapper around GraphiQL
MIT License
2.95k stars 336 forks source link

Wrong tab is selected after a Reload #110

Open cabello opened 6 years ago

cabello commented 6 years ago

Hi 👋! I've been using the app for a few days know, really enjoying it.

I noticed a tiny bug: if I have multiple tabs open and I trigger a Reload (command + R) my tab selection is moved to my last tab.

For example in the following scenario:

| Tab 1 | Tab 2 (selected) | Tab 3 | Tab 4 |

Expected result after a reload:

| Tab 1 | Tab 2 (selected) | Tab 3 | Tab 4 |

Actual result after a reload:

| Tab 1 | Tab 2 | Tab 3 | Tab 4 (selected) |

Thanks for wrapping GraphiQL into an app, really helps the non JS people :)