MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

HUD URL bar buggy #236

Closed caseyyee closed 9 years ago

caseyyee commented 9 years ago
KevinGrandon commented 9 years ago

I took a look and I think this may be the cursor component calling form.submit(); on the hud input.

Maybe the react refactor broke the timeout/handling the mouseup events properly?

cvan commented 9 years ago

we used to have code that would ignore keyboard shortcuts if you were typing in an input field. I have a hunch that that code was removed or isn't working now.

KevinGrandon commented 9 years ago

That could also be broken, but one problem is that we definitely receive submit events at unexpected times. (I think even when not typing)

cvan commented 9 years ago

clear the URL bar. try typing. I can't type anything at all.

not sure if I regressed it or it was regressed before.

cvan commented 9 years ago

Pressing 'c' (cursor click on kb) on url bar dismisses HUD (not sure exactly how to reproduce this). As a result, I cannt enter anything into the URL bar.

investigating

cvan commented 9 years ago

Backspacing won't clear past the protocol in the URL bar.

I have a fix for this.

Once URL bar has focus, you cannot click any of the tiles using keyboard anymore.

With a Gamepad connected?