Bryan Housel
3917f02067
When combobox is attached to textarea, let user up/down arrow
...
(closes #4750 )
2018-03-02 00:42:24 -05:00
Bryan Housel
013253ecde
Improve combobox option visibility
...
(closes #4761 )
This improves the usability of the combobox when it appears over
other rows of fields (e.g. raw tag editor)
1. shrink size on left/right to provide more separation from content beneath
2. adjust box shadow for slightly more visibility
3. shrink size of first option by one pixel, so that the combobox
options will never perfectly line up with rows that they cover
2018-02-11 22:24:06 -05:00
Bryan Housel
1111c6b0c1
Fallback to event.keyCode if event.key is outside ISO-Latin-1
...
(closes #4618 )
2018-01-03 23:37:35 -05:00
Bryan Housel
baeff8f59c
Don't autocomplete a longer value if search matches a value exactly
...
(closes #4549 )
2018-01-02 17:55:25 -05:00
Bryan Housel
0ee30c44cb
Convert lodah-es and d3 to named imports for lib
2017-09-24 23:08:47 -04:00
Bryan Housel
2d665dbc1b
Ignore Ctrl and Alt if both are present (e.g. AltGr on Windows)
...
(see #4096 )
2017-06-09 11:42:35 -04:00
Bryan Housel
1341c80664
Fix typo in detecting '+' literal
2017-06-06 16:39:32 -04:00
Bryan Housel
507183c8ee
Fix arrowright typo
2017-06-06 16:28:54 -04:00
Bryan Housel
94c705ec68
Don't match shiftKey strictly, but prioritize shifted over unshifted
...
Most key shortcuts will accept either lower or uppercase ('h' or 'H'),
so we don't strictly match on the shift key, but we prioritize
shifted bindings first, and fallback to unshifted only if no match.
(This lets us differentiate between '←'/'⇧←' or '⌘Z'/'⌘⇧Z')
2017-06-05 20:55:10 -04:00
Bryan Housel
32995e54a0
Merge pull request #3572 from openstreetmap/tyrasd-patch-keybindings
...
implement keyboard shortcuts using KeyboardEvent.key api
2017-06-05 16:27:06 -04:00
Bryan Housel
ea1e64d4d2
Fix combobox accept on click in IE11
...
(closes #3991 )
2017-04-27 19:23:11 +01:00
Bryan Housel
f2f21a090e
Allow combobox to nest under id-container instead of body
...
(re: https://github.com/openstreetmap/iD/issues/3925#issuecomment-290718356 )
2017-03-31 11:27:32 -04:00
Martin Raifer
5dcedd9fc1
implement keyboard shortcuts using KeyboardEvent.key api
...
this should improve compatibility across keyboard layouts (e.g. different languages). Old-style keycodes are still used for browsers that don't implement the new key property.
2016-11-08 16:52:15 +01:00
Martin Raifer
cc599f3c03
fix undefined underscore keycode ( #3564 )
2016-11-08 12:13:31 +01:00
Bryan Housel
2273a6ed43
Allow multiple key bindings to be specified in an array
2016-11-04 09:41:44 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
76d6abd43e
Hide combobox on tabbing
...
(This only seems to affect the raw_tag_editor)
2016-09-28 15:51:57 -04:00
Bryan Housel
0ea59a043d
Fields mostly working (but not dispatch/update)
2016-09-20 22:41:05 -04:00
Bryan Housel
6346a11880
Continuing to audit enter/update selections that need merge()
2016-09-18 00:51:43 -04:00
Bryan Housel
a6d683eaf7
Code cleanups in svg, ui for selection merging, fix Mapillary.
2016-09-17 23:26:49 -04:00
Tom MacWright
6bfe6a8640
Down to 7 test failures
2016-09-06 11:16:47 -04:00
Tom MacWright
4fcbcddc5b
Fix eslint
2016-09-06 10:18:05 -04:00
Tom MacWright
97ac0c06f1
Fix d3 reference
2016-09-05 11:07:33 -04:00
Tom MacWright
ed135ce9ef
Enable lib tests
2016-09-05 10:22:45 -04:00