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

key-sequence: Simulting a space clears the content of non-input elements in IE (>= 11?) #15

Open
j-ulrich opened this issue Dec 15, 2013 · 1 comment
Labels

Comments

@j-ulrich
Copy link
Owner

This issue is similar to #6: Sometimes, when simulating a key sequence with delay in a non-input element in IE (>= 11?), spaces in the sequence delete the contents of the element.

For example:
After calling

$('#myDiv').simulate('key-sequence', {sequence: 'my little text', delay: 100});

#myDiv contains text, but it can be seen that the rest of the sequence is simulated as well, but each space removes the current content of the div. This even happens with the \xA0 character.

I haven't found out in which situations this problem occurrs but it doesn't seem to be related to the visibility of the element. Chances are good that the problem come from bililiteRange.js in combination with IEs implementation of the Range API.

The fix from #6 doesn't solve this problem.

@j-ulrich
Copy link
Owner Author

j-ulrich commented Mar 8, 2014

Further investigated this: this also happens without delay.

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

No branches or pull requests

1 participant