Skip to content

[2.1] sceditor loses its height after exiting maximize #7946

Open

Description

@asmith20002

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.

Activity

  1. live627 commented on Dec 10, 2023

    @live627
    Contributor

    SCEditor Integration for SMF 2.0.x

    Does that mod exhibit the problematic behavior that you describe?

  2. asmith20002 commented on Dec 10, 2023

    @asmith20002
    ContributorAuthor

    That mod doesn't have the "maximize" button. I've just installed it on a fresh install of SMF 2.0.19.

  3. added this to the 2.1.9 milestone on Sep 5, 2026
  4. jdarwood007 commented on Oct 18, 2026

    @jdarwood007
    Member

    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?

  5. jdarwood007 commented on Oct 18, 2026

    @jdarwood007
    Member

    Found something that works.

  6. added a commit that references this issue on Oct 31, 2026
    ba4b1b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions