-
Notifications
You must be signed in to change notification settings - Fork 3
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
Input complexities #2
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now I'm applying this code in all browsers. If focusing the input is important for screen readers or something else, then we may be able to do some feature/bug detection.
body
is meant to beheight: 100%
.<input>
s should bearia-hidden
<input>
being moved, then we can change back to absolute positioning so that it's moved visually but not moved within the DOM tree.A question from the development side: I haven't used web components before, and I'm wondering if the TextInput class would fit being made into one. Some code would probably have to be moved out of it, but that's okay. It uses jQuery now, but it wouldn't have to. I'm wondering how it would work... make a component be a subclass of an Input element, or hide the input element within it? Use callback functions like it does now, or raise a custom event with the normalised Glk data?
https://github.com/curiousdannii/asyncglk/blob/master/src/glkote/web/input.ts
The text was updated successfully, but these errors were encountered: