ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Spuds on April 18, 2014, 01:00:37 pm

Title: Editor Height Jumps
Post by: Spuds on April 18, 2014, 01:00:37 pm
On the post page at least

Load the page and the editor window height starts larger and then jumps to a smaller height, does it on every page refresh as well.  Not sure when it started but kind of annoying to have it initialize at one height and then jump to a lesser one.
Title: Re: Editor Height Jumps
Post by: emanuele on April 18, 2014, 04:22:10 pm
hmm... you may try adding back the height: 100% removed a while ago.
Title: Re: Editor Height Jumps
Post by: Spuds on April 18, 2014, 05:04:30 pm
Yeah that fixes it but breaks the ability to specify a height in the call ... always something !
Title: Re: Editor Height Jumps
Post by: scripple on April 18, 2014, 06:30:40 pm
Yeah I see that too.  I think the toolbarContainer option needs to be tried so the actual text area can be sized w/o having to worry about the toolbar.  And maybe instead of setting the height to 100% strip off the px setting of the context height variable and pass it into sceditor.  It can take either % or a plain integer which is interprets as pixels I believe.
Title: Re: Editor Height Jumps
Post by: emanuele on May 15, 2014, 06:37:00 pm
Was that fixed?
Title: Re: Editor Height Jumps
Post by: Spuds on May 15, 2014, 07:08:15 pm
Yup .. @scripple  added the toolbar to the editor init  ... If I recall correctly ... but yes fixed