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

Enter/Return key not performing as expected in IE 8 #71

Closed
ghost opened this issue May 28, 2012 · 4 comments
Closed

Enter/Return key not performing as expected in IE 8 #71

ghost opened this issue May 28, 2012 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented May 28, 2012

Hi,

At first I thought this was a problem within my application but I checked on the demo page and the problem is still there.

Using Internet Explorer 8, if I open a textarea keyboard and hit the enter key say 5 times, I do not get 5 break lines, just one. And if I try to write anything after hitting enter 5 times it comes out like this:

q
w
e
r
ty qwerty qwerty

Works fine in Chrome, Firefox, Safari, and Opera. I can't try IE 9 since i'm on XP.

Any ideas? Thanks.

@ghost
Copy link
Author

ghost commented Jun 1, 2012

I did a workaround for this by changing:

if (tag === 'TEXTAREA' && $(e.target).closest('button').length) {
            base.insertText('\n');
        }

To:

if (tag === 'TEXTAREA' && $(e.target).closest('button').length) {
            base.insertText(' ');
            base.insertText('\n');
        }

@Mottie
Copy link
Owner

Mottie commented Jun 17, 2012

Hi blookie!

Thanks for reporting the issue and the fix! I appreciate it!

I'll have this patched up in the next update.

Mottie added a commit that referenced this issue Jun 17, 2012
@Mottie
Copy link
Owner

Mottie commented Jun 18, 2012

Hi blookie!

I've added your fix in the latest update, thanks again!

@Mottie
Copy link
Owner

Mottie commented Jul 2, 2012

I'm guessing this issue has been resolved, so I'm going to close it. Please feel free to reopen it if you continue to have problems. Thanks!

@Mottie Mottie closed this as completed Jul 2, 2012
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