You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
We are having an issue in JupyterLab (jupyterlab/jupyterlab#6648), when a tab is closed, current tab changes but new current tab doesn't get activated. Keyboard events are not received by the current tab.
The reason for this is because focus might be somewhere else in the application, for example the command palette, when the user closes the current tab. In that case, you wouldn't want the new current tab to steal focus from the command palette.
What we could probably do is check to see if the current tab has focus when the close button is clicked, and if so, activate the new tab when it is made current.
What we could probably do is check to see if the current tab has focus when the close button is clicked, and if so, activate the new tab when it is made current.
What we could probably do is check to see if the current tab has focus when the close button is clicked, and if so, activate the new tab when it is made current.
This issue came up from closing tabs with a keyboard shortcut, so we probably need to trap this at a deeper level than a mouse click so we cover other ways of closing a tab. Perhaps on the actual child-removed message, since a child may decide to not remove itself on a close request, and we really want this behavior only if the close actually happened and the child is gone.
We are having an issue in JupyterLab (jupyterlab/jupyterlab#6648), when a tab is closed, current tab changes but new current tab doesn't get activated. Keyboard events are not received by the current tab.
In https://github.com/phosphorjs/phosphor/blob/master/packages/widgets/src/tabbar.ts there are a lot of places where currentChange is emitted but activate is only tied to user click. Why an activate is only happening at user click and not on the currentChanged?
The text was updated successfully, but these errors were encountered: