WordPress.org

Ready to get started?Download WordPress

Forums

Spectacu.la Discussion
[resolved] Spectacu.la is adding linebreaks (10 posts)

  1. BeachsidePaul
    Member
    Posted 3 years ago #

    This is interesting. The plug in is installed and kind of working but every character I type in the comment box adds a new line to the comment text box. Any ideas? Thanks, Paul

    http://wordpress.org/extend/plugins/spectacula-threaded-comments/

  2. BeachsidePaul
    Member
    Posted 3 years ago #

    Correction, it's not adding line breaks or new lines, the text-area height in being incremented by what appears to be the character size in pixels maybe, no real logic to the increase to the height, but it makes a huge text-area real quickly LOL. Problem in autogrow-textarea.js?

  3. Spectacula
    Member
    Plugin Author

    Posted 3 years ago #

    Could you tell us what WordPress version, browser and theme you're using?

    I've tested the autogrow elements with several themes and browsers but there are limits to how much testing I can do.

  4. BeachsidePaul
    Member
    Posted 3 years ago #

    I'm sorry Spectacula, I should have said before. I'm using version 3.01 of WordPress, Firefox 3.6.10, same problem occurs with Chrome, haven't started checking in IE yet. I'm using GraphPaperPress' fullscreen theme (modified a bit). I'm checking to see if any of my plug ins might by conflicting and will let you know if I discover something. Thanks for your help, Paul

  5. BeachsidePaul
    Member
    Posted 3 years ago #

    After deactivating all my plug ins, it's still occurring. If you would like to take a look (no laughing, website is not active yet) try here I'll leave plug-ins deactivated for a couple of hours if you need me to. Thanks again, Paul

  6. BeachsidePaul
    Member
    Posted 3 years ago #

    Okay, this is getting out of control. Just tried it in IE9 and, instead of expanding the textarea with every keystroke, it didn't expand it at all. When it came to the end of the line, it rolled down and put up a scroll bar. Actually, this is better than the endless expand of FF and Chrome LOL .. okay, I'm about to give up. Thanks, Paul

  7. Spectacula
    Member
    Plugin Author

    Posted 3 years ago #

    Sorry didn't get a chance to look at your site before, busy with work.

    I've installed the fullscreen theme on my local dev environment and replicated the issue and I know what it is and probably how to fix it.

    Something the theme is doing to pop the comments up in a separate box is confusing my code that uses a hidden div ( The div expands to match the text inside it ) off of the body to measure the size the text area needs to be. I can try a few things to make this work, I already have a few ideas but don't hold your breath as I have a project to finish this weekend.

  8. Spectacula
    Member
    Plugin Author

    Posted 3 years ago #

    Ah, just found that because the textarea is hidden when the hidden measuring div is created it has a width of 0px. I'll just change the width of the measuring box to match that of the textarea at the same time I do my measuring. Should do it.

  9. Spectacula
    Member
    Plugin Author

    Posted 3 years ago #

    Released 2.1.2 which should fix the problems you were having. Should show up in the plug-ins list in about 15 to 30 mins from now.

  10. BeachsidePaul
    Member
    Posted 3 years ago #

    THANK YOU so much! Sorry I didn't get back sooner, girl-child getting married tomorrow and it's a bit hectic around here :-) ... I really do appreciate your efforts! Now on to the next problem LOL ... Thanks again, Paul

    P.S. Good luck on your project!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic