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

<textarea> and <input type=text> cursor issue in IE 11.0 #4991

Open
FranckFreiburger opened this issue Feb 23, 2017 · 13 comments
Open

<textarea> and <input type=text> cursor issue in IE 11.0 #4991

FranckFreiburger opened this issue Feb 23, 2017 · 13 comments

Comments

@FranckFreiburger
Copy link

FranckFreiburger commented Feb 23, 2017

To reproduce:

same issue with input type=text (https://vuejs.org/v2/guide/forms.html#Text)

@FranckFreiburger FranckFreiburger changed the title textarea cursor issue in IE 11.0 <textarea> and <input type=text> cursor issue in IE 11.0 Feb 23, 2017
@posva
Copy link
Member

posva commented Feb 23, 2017

Hi, thanks for opening the issue!
You can also do it by using ctrl + ←

@yyx990803 yyx990803 added improvement and removed bug labels Feb 24, 2017
@jdalton
Copy link

jdalton commented Mar 30, 2017

I can't reproduce this in Edge 15 or IE11 🤷

@posva
Copy link
Member

posva commented Mar 31, 2017

@jdalton Hey thanks for tuning in. Do you think it got patched on IE 11 in the meanwhile? I'll have to try again

@jdalton
Copy link

jdalton commented Mar 31, 2017

IE 11 isn't getting patches like that, so not likely.

@posva
Copy link
Member

posva commented Mar 31, 2017

It seems to still be happening:
uoeu

@jdalton
Copy link

jdalton commented Mar 31, 2017

Ah ha! It's a tricky one! After trying it a few more times I could repro in IE11 too.
Still not able to repo in Edge 15 though 😃

@posva
Copy link
Member

posva commented Mar 31, 2017

yeah, it doesn't happen on edge

@jblotus

This comment has been minimized.

@malumar
Copy link

malumar commented Sep 26, 2017

Same on safari 11.0 (13604.1.38.1.6) (macOS) and earlier versions

vue-input

Try use custom component with input, like this:
https://vuejs.org/v2/guide/components.html#Form-Input-Components-using-Custom-Events

error is caused by
this.$emit("input",...)

@yyx990803 yyx990803 removed the 2.x label Apr 17, 2018
@ThomHurks
Copy link

I'm having this exact issue but it also happens in Chrome 68. Does anyone have a workaround?

@ThomHurks
Copy link

@yyx990803 I have the feeling this is just caused by people using .trim as this causes the input to re-render often (and then the cursor jumps). A simple solution would be to add .trimlazy which only trims after a change event.

@Sunee67

This comment has been minimized.

@MarcelloTheArcane
Copy link

@ThomHurks You can nest modifiers, like v-model.trim.lazy - https://jsfiddle.net/782y3e5g/

Can anyone see if this fixes the issue on the older browsers?

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

9 participants