mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Feature/#248 slider keyboard (#257)
* Added tabIndex=0 to <svg> in Slider to allow keyboard focus * further tests for mobile keyboard fix * Proof of concept of way to get mobile keyboard to open for Slider component * Added CSS to slider input box to make it invisible but still usable * Update to hide text input and move it up to same position as slider * Change slider text field type to 'tel" to force numeric-only keyboard on mobile * Added focus/blur handlers and initial styling to show/hide text field component * Update to insure text field values are updated when slider moves, and vice versa. * Added timeout handler for Outfitting sliders to raise keyboard after 1500ms. Doesn't work 100% on iPhone. * Changed touch/mouse down event handlers to change the display value on the parent div, then use componentDidUpdate to set focus on the text box. * Added tap/hold mousedown/hold keyboard display - works on desktop, iOS, and Android
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@ nginx.pid
|
||||
/bin
|
||||
env
|
||||
*.swp
|
||||
.project
|
||||
|
||||
Reference in New Issue
Block a user