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

Setting text apply is different position. #315

Open
yu-sungho opened this issue Jul 16, 2015 · 4 comments
Open

Setting text apply is different position. #315

yu-sungho opened this issue Jul 16, 2015 · 4 comments

Comments

@yu-sungho
Copy link

example : http://ichord.github.io/At.js/ -> ContentEditable mode

test :

  1. first line last position : typing the :s and cancel (ESC key)
  2. second line : typing the :s .
  3. apply the first line last position.

I want to second line apply the :s but apply the first line last position.

Thankyou.

@cesiya23
Copy link

cesiya23 commented Apr 7, 2017

Any solutions?

1 similar comment
@sakervista
Copy link

Any solutions?

@andreas-vvv
Copy link

andreas-vvv commented Nov 12, 2017

Hi,

Im having the same problem when pressing Enter.

I think the problem is in App.prototype.onKeyup

By having placeholder $.noop(), case KEY_CODE.ENTER does not call this.dispatch(e); and so never calls catchQuery

I replaced line 298 to:

      case KEY_CODE.DOWN:
      case KEY_CODE.UP:
      case KEY_CODE.CTRL:
        break;
      case KEY_CODE.ENTER:
        this.dispatch(e);
        break;

and it works so far.

@chrisdeeming
Copy link

@andreas-vvv I stumbled across your comment while debugging the same issue.

I know it was a while ago, but have you continued to have success with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants