Codesandbox-client: Closing all tabs leads to a grey screen

Created on 7 Feb 2018  ·  7Comments  ·  Source: codesandbox/codesandbox-client

Close all tabs -> Whole page is grey

❕ Help Wanted 🐛 Bug

Most helpful comment

Fixed this together with another issue. Will go live today!

All 7 comments

Yep, bug!

How can you close all tabs, the opened tab can't be closed

Middle click

@CompuIves What should be the behavior/view when all tabs are closed

it should probably just not allow the last tab to be closed

Yes, I think we should add a check for middle click as well, or better yet, move the logic to check if possible to the root of the tab remove logic.

Fixed this together with another issue. Will go live today!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kentcdodds picture kentcdodds  ·  3Comments

wojciechczerniak picture wojciechczerniak  ·  3Comments

faceyspacey picture faceyspacey  ·  3Comments

oliversturm picture oliversturm  ·  3Comments

eckmLJE picture eckmLJE  ·  3Comments