• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  The text editor size is growing exponentially

Floren

Well-known member
#1
I just finished typing a small reply.
For each key I press, the editor box height increases by 1 line.
When I press Enter, it increases by 3 lines.

It was not doing this yesterday... Everything is fine on my live board, so is not a browser issue.
Edit: Using Google Chrome 7.0.514
 

Jake Bunce

XenForo moderator
Staff member
#2
Not to be too obvious, but does the problem happen here on xenforo.com? What about in different browsers?

I have never had this problem here or anywhere else. :confused:
 

Jake Bunce

XenForo moderator
Staff member
#3
Everything is fine on my live board, so is not a browser issue.
Oops, I didn't see this the first time. :oops:

I would be inclined to do some systematic troubleshooting to isolate the problem. If you can isolate it to the forum itself then I would start looking at custom templates, addons, etc. Or even file customizations / problems.

I suppose it could be a bug, but I can't reproduce it myself.
 

Brogan

XenForo moderator
Staff member
#4
Have you tried a hard refresh? It could be a .js issue.
There have been some updates rolled out today but I don't know if that included any .js changes.

Edit: Apparently the editor .js was changed today so that is probably the cause of the problem.
 

Brogan

XenForo moderator
Staff member
#9
Definitely a Chrome related bug.

I've just "upgraded" from 6.0.472.63 to 7.0.517.41 and the problem has started.
 

Floren

Well-known member
#15
It is browser specific though.
I see what you mean now... it does not do it with other browsers, on xenforo.com site.
IMO, Chrome is the only developer friendly browser who stays always on the technology edge and allows developers to update their code properly. Wait a little until other bloated browsers catch up. :)
 

Mike

XenForo developer
Staff member
#18
This is fixed now. Chrome can be finicky with its cache usage, so it may take a little time to go away.

If you're interested, it looks like Chrome 7 reports the scrollHeight of an iframe document to be the height of the frame, not the content. Chrome 6 doesn't do this, and it doesn't seem like the other browsers do. There appears to be an open bug report about it.

Unfortunately, the improvements I added to the "elastic" WYSIWYG boxes had to be removed for WebKit because of this.
 

Brogan

XenForo moderator
Staff member
#19
Thanks Mike.

I may consider going back to Firefox then if using Chrome is going to mean less/buggy functionality.