1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Extra line when Relying to a post in Conversations

Discussion in 'Resolved Bug Reports' started by AndyB, May 5, 2014.

  1. AndyB

    AndyB Well-Known Member

    MAC OSX using Firefox.

    I often get an extra line when I click the reply button in a conversation. The red arrow shows where the extra line is.

    erich37 likes this.
  2. erich37

    erich37 Well-Known Member

    - this is generally happening at the "Editor". Not related to "Private Conversation" only.
    - also happening on Windows 8 + FireFox.

    Mostly happening when "Copy" + "Paste", although cursor is in very first line.
  3. AndyB

    AndyB Well-Known Member

    I just updated my Firefox from version 28 to version 29. I'll report if it happens with this latest version.
  4. AndyB

    AndyB Well-Known Member

    Unfortunately, this bug still occurs using Firefox 29 on my Mac OSX.
  5. Mike

    Mike XenForo Developer Staff Member

    I think I've worked around this. It seems to be related to FF saving form values across refreshes, but it appears that it stores a value that should be the default value but differs with an extra <br>. I've added a handler to recognize that and it seems to work correctly now.

    The only way I could reproduce it was to type, ctrl+a to delete the text, soft refresh the page and then click "reply" without focusing the editor (the issue went away when focusing). It has to do with the position of the cursor in that case.
  6. AndyB

    AndyB Well-Known Member

    Very impressive, Mike. I can't even imagine how difficult it would be to create a WYSIWYG editor in XenForo that works with all the major browsers and operating systems. My hats off to you, keep up the great work.

    Thank you explaining your findings.

Share This Page