Robin Ward
08e43588f6
FIX: Autocomplete wasn't properly updating d-editor
2016-03-01 15:17:17 -05:00
Sam
bc61cfcad4
correct autocomplete edge case on android
...
@ backspace @ was not opening an autocomplete
2016-02-24 15:20:12 +11:00
Sam Saffron
27052717a4
Merge branch 'master' into vdom
2016-02-23 17:23:05 +11:00
Sam Saffron
d59c9badbe
correct build
2016-02-23 17:22:41 +11:00
Sam Saffron
10aa1923a4
Merge branch 'master' into vdom
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-02-23 17:07:01 +11:00
Sam Saffron
32d3dd22a0
FIX: broken autocomplete on Android
...
Android Chrome does not support keypress event, instead use keyup
2016-02-23 17:06:15 +11:00
Sam Saffron
d0a86f8032
Merge branch 'master' into vdom
2016-02-23 15:58:46 +11:00
Sam Saffron
6d22354ac3
FIX: cleaner error handling for multiple autocomplete matchers
2016-02-23 15:48:39 +11:00
Robin Ward
849c99f83d
Remove Discourse.Mobile constants
2016-02-18 12:19:00 -05:00
Guo Xiang Tan
c7186b1403
FIX: Close autocomplete is term is blank.
2016-02-10 19:50:58 +08:00
Sam Saffron
b9e8732018
UX: tweak autocomplete to limit hijacking
...
- Stop eating up back arrow when you hit @
- Clicking anywhere closes autocomplete
- Forward arrow no longer issues autocompletion, instead functions as right arrow
2016-02-08 10:51:59 +11:00
Guo Xiang Tan
726d81f83b
FIX: Don't update autocomplete when removing the key.
2016-02-05 16:47:47 +08:00
Guo Xiang Tan
fa794ef59d
FIX: Deleting characters on category hashtag was not triggering autocomplete.
2016-01-20 17:18:04 +08:00
Guo Xiang Tan
c1dbf5c1c4
FEATURE: Autolinking to category using hashtags.
2016-01-05 00:12:24 +08:00
Guo Xiang Tan
8dbf1e457b
FIX: Allow '/' to trigger autocomplete.
2015-12-07 20:22:14 +08:00
Guo Xiang Tan
f835a0ba22
UX: Trigger autocompleter only for specific characters.
2015-11-23 16:33:47 +08:00
Guo Xiang Tan
8e8e787ad0
FIX: Whitelist parentheses and brackets in autocomplete.
2015-10-16 13:17:51 +08:00
Guo Xiang Tan
8b59f76f59
FIX: Don't append when there is nothing to append.
2015-10-03 17:22:13 +08:00
Régis Hanol
e3a80936c8
prefer empty href attribute to #
2015-09-08 18:27:20 +02:00
Guo Xiang Tan
a77d5d0cef
UX: Make autocomplete usable on mobile.
2015-09-03 17:10:08 +08:00
Guo Xiang Tan
f3e3cbe3b2
FIX: Trigger autocomplete when bounded by non-word characters.
2015-08-26 16:02:42 +08:00
Robin Ward
b0541500b4
FIX: eslint deprecations
2015-08-13 15:14:08 -04:00
Robin Ward
da9e2792eb
FIX: Bugs with autocomplete
...
It wasn't tearing itself down properly. It was swallowing events.
2015-04-06 14:04:42 -04:00
Robin Ward
cf3582bedb
FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors.
2015-02-10 17:21:16 -05:00
Sam
9d43e0ae0c
FIX: regression, ESC is not captured correctly
2014-11-01 18:31:16 +11:00
Sam
b4c29a9f3b
FIX: regression in autocomplete
2014-10-14 18:22:44 +11:00
Martin Meyerhoff
f3337ab551
reduce number of times caretPosition() is called
2014-10-15 08:50:47 +02:00
Martin Meyerhoff
97b60e6422
Fix buggy autocomplete behaviour for non-US keyboards
...
This change moves the code for actually entering data from the keydown handler to the
keypress handler, which can reliably catch the character entered (rather than
the key pressed).
This is my second attempt at
https://meta.discourse.org/t/typing-shows-on-non-us-keyboard-layouts/20449
without doing dangerous refactoring.
This does not fix the issue reported in
https://meta.discourse.org/t/overly-aggresive-emoji-autocomplete/20691/7
as that is a different bug.
2014-10-11 17:55:48 +02:00
Sam
168c690427
FIX: handle paste events for auto completed fields
2014-10-08 11:59:46 +11:00
Robin Ward
ad5e4f98d9
Revert "Merge pull request #2833 from mamhoff/new-bugfix-autocomplete"
...
This reverts commit 2450d284c5 , reversing
changes made to 489078bfcf .
2014-10-02 16:00:50 -04:00
Martin Meyerhoff
3fd8fc97a2
BUGFIX: Handle text input in keypress handler for I18n
...
While the `keydown` handler is the only way of reliably catching special keys,
for textual input `keypress` is preferable, as it can handle thing like parens
without having to hardcode a keyboard.
I moved that code and in the process converted some magic numbers to constants
- mostly so I can read stuff better.
2014-10-01 15:50:09 +02:00
Robin Ward
3b76fd82fd
ES6: user-search lib and autocomplete. Cancels many promises rather than
...
leaving them as pending forever.
2014-08-08 13:10:13 -04:00