forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround/input box focus (jupyterlab#15479)
* Re-focus input after modifying model, keep input for 0.5s * Add a test case against the focus loss issue Tested that it fails on main reproducing the issue: ``` - Expected - 0 + Received + 8 from time import sleep input() print('before sleep') sleep(0.1) print('after sleep') + + + x + + + + + ``` * Give up on using animations and :has() solution due to FF bug https://bugzilla.mozilla.org/show_bug.cgi?id=1867893 `:has()` is not only not yet officially supported but is hard to implement well so no wonder there are difficult invalidation bugs * More robust stdin test
- Loading branch information
1 parent
d62f842
commit 68be103
Showing
3 changed files
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters