Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I remove textarea resize without editing the js script?

  • @aljo1985

    Participant

    Okay first I do have a suggestion, remove the textarea resize in buddypress.js. This is a really annoying feature. Reason, say I create a long post and want to resize the textbox, it snaps back to the 20px height all the time.. Click out of the text box just once to say, copy some text from somewhere, and you are back to scrolling to the position you want to find after you have re-seized the box at least twice to make it actually stick. As you are making this work for all themes practically, it would be a very good idea to do this.
    I have had to currently force the min height to 60px, which is approx 3 lines of text.

    textarea#whats-new {
      min-height: 60px !important;
    }

    This still makes it snap back to the min height when I click outside the box. So I resized the box because I wanted to see more text, then you decided to shrink it on me? I don’t think that is a good option..

    Also the button underneath, I have a larger button than your predefined button so, having to force the new options area to have overflow hidden and a new hight so my button isn’t cut in half.

    div#whats-new-content div#whats-new-options {
      overflow: hidden;
      height: 56px !important;
    }

    Now my only problem is the js script that keeps resizing my text box, How can I stop it doing this without editing the buddypress.js?

    Thanks for reading and hope you change these options.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How do I remove textarea resize without editing the js script?’ is closed to new replies.
Skip to toolbar