Closed noahbowman closed 1 year ago
This might be related to 01b11e1ac2774fc61c66dc6145f9404584f24363. Let me try reverting
I just reverted this and I'm pushing the site now: https://github.com/pcottle/learnGitBranching/commit/e11d69148086411b4ab3e030512d569d0a262a1b
can you try after a hard refresh (clearing cache) on https://learngitbranching.js.org/?NODEMO ?
Yep, tested https://learngitbranching.js.org/?NODEMO on both Chome and Edge - works great! Also, checked Firefox again for good measure and that is still working OK.
I just reverted this and I'm pushing the site now: e11d691
can you try after a hard refresh (clearing cache) on https://learngitbranching.js.org/?NODEMO ?
Hi, I'm using Safari and Chrome on Mac. I just cleared my cache and tried https://learngitbranching.js.org/?NODEMO. It works on both browsers. But the tutorial sections still don't allow me to enter anything.
Pressing tab
key multiple times will get your cursor back(Chrome, macOS).
Maybe some hidden input element is holding the cursor?
wow! It works. Thank you!
CC @ulyssear for awareness :point_up:
I may have found a solution and indeed, I put a code in the wrong place, which led to unintended consequences.
The code aiming to add the "inert" attribute was done via the "show" and "hide" methods present in the ModalView object, in the src\js\views\index.js file. By moving it in the "toggleShow" method, near of "stealKeyboard" and "releaseKeyboard", there is no longer any blocking on the console input. I'm going to do a PR that should solve this problem.
Anyway, sorry for that !
EDIT: The PR has been created at #1027
Pressing
tab
key multiple times will get your cursor back(Chrome, macOS). Maybe some hidden input element is holding the cursor?
It works, Thanks!
(sorry for the delay, got the covid/flu shot yesterday and was quite sick)
I merged #1027 and I'll push that to production now!
Just confirmed that the cursor no longer gets stolen for tutorials, so going to close this out
I have this issue. I've just used the site for the first time on a new computer. Windows 11 using Chrome. Pressing Tab multiple times seemed to fix it
Using Windows 10 - I can interact with the UI but the console does not take any input on both Chrome and Edge.
However, when I use Firefox I can enter commands just fine
The cursor is also visible in Firefox on the console, but is not visible on the other two browsers.
Firefox:
Other: