Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari Keyboard input #7

Closed
BarryCarlyon opened this issue Dec 14, 2014 · 6 comments
Closed

Safari Keyboard input #7

BarryCarlyon opened this issue Dec 14, 2014 · 6 comments
Assignees
Labels

Comments

@BarryCarlyon
Copy link

Under Mac Yosemite Safari (Version 8.0 (10600.1.25.1))

I cannot seem to enter keyboard commands.

Following the tutorial says to input "taxi"

But I type t which appears but accepts no other input.
(Of course t conflicts with takeoff so it doesn't understand the command)

Same for wait, w appears but no other input.
Typing Climb results in nothing/no input

@zlsa zlsa added the bug label Dec 14, 2014
@zlsa
Copy link
Owner

zlsa commented Dec 14, 2014

Only the first letter you type works? After you type a letter, does the input box unfocus itself?

@kiliankoe
Copy link

Focus still seems to be there, but no further input is being accepted after the first letter. Enter works, but that just submits that single letter as @BarryCarlyon already said.

I'm on Safari Version 8.0.2 (10600.2.5) if that helps. Chrome works just fine.

@zlsa
Copy link
Owner

zlsa commented Dec 14, 2014

Are there any errors logged in the console?

@zlsa zlsa self-assigned this Dec 14, 2014
@kiliankoe
Copy link

I was unfortunately stuck on the loading screen for a bit there. No clue why :(

But now it's working again and there's no errors logged whatsoever. Nothing shows up in the console besides probably normal output when trying to type and sending one-liners.

[Log] [ INFO  ] Version v2.0.5 (modules.js, line 124)
[Log] [ INFO  ] Finished loading 13 modules in 0.085s (modules.js, line 124)
[Log] [ INFO  ] Downloaded all assets. (modules.js, line 124)
[Log] arriving aircraft no longer visible. YU FAIL (aircraft.js, line 1238, x2)

@BonsaiDen
Copy link

This is caused by the CSS.

The user-select: none on * causes both some earlier version of Chrome as well as the recent Safaris to now allow any input into the text field.

You'll need to add an additional style to fix this by specifically allowing input on input elements.

input {
    -webkit-user-select: text;
    -moz-select: text;
    user-select: text;
} 

@zlsa zlsa closed this as completed in f11ec43 Dec 14, 2014
@BarryCarlyon
Copy link
Author

Looks good from here now :-)

erikquinn pushed a commit that referenced this issue Nov 12, 2016
* bugfix/ATC-5 - refactors parseElevation to accept negative elevations
* Adds .m_ft() to convert meters to feet
* Adds m_ft ratio
* Adds tests for .parseElevation()

* Removes bundle from vcs

* Adds Airport constant to prop so that both this.airport and prop.airport point to the same reference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants