You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[2.1] sceditor loses its height after exiting maximize #7946
If you don't manually resize the sceditor's height and maximize it. (maximize button next to view source button at the end of the row)
After exiting maximize mode, sceditor loses its height about half.
If you DO manually resize its height before going maximize mode, it keeps its size. Tried it on the sceditor's website and didn't happen there so I guess it is SMF's bug maybe.
This bug is reproducible on the simplemachines.org as well. Just open up a new topic page and click on the maximize button, then exit. Now the height of the editor is halved.
This was introduced in #5370
The problem being we now set the height of the texteara instead of the container and it is ignored once the maximise is used.
If we could call the resize function it would properly fill out the height on the container. Any other solution I am thinking of would reintroduce the issue in 5370
@live627 Just so I don't go backwards and reintroduce that bug that was fixed, what are your thoughts on what should be done here?
Activity
live627 commentedon Dec 10, 2023
SCEditor Integration for SMF 2.0.x
Does that mod exhibit the problematic behavior that you describe?
asmith20002 commentedon Dec 10, 2023
That mod doesn't have the "maximize" button. I've just installed it on a fresh install of SMF 2.0.19.
jdarwood007 commentedon Oct 18, 2026
This was introduced in #5370
The problem being we now set the height of the texteara instead of the container and it is ignored once the maximise is used.
If we could call the resize function it would properly fill out the height on the container. Any other solution I am thinking of would reintroduce the issue in 5370
@live627 Just so I don't go backwards and reintroduce that bug that was fixed, what are your thoughts on what should be done here?
jdarwood007 commentedon Oct 18, 2026
Found something that works.
[2.1] Keep the original height of the editor during a resize