Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Does it not scroll to the bottom of the chat area automatically? Or is that the part that’s taking too long to do?

    The plugin uses ajax so it shouldn’t be refreshing the entire page and restarting the scroll at the top each message. Then with each new message, it automatically scrolls the user to the bottom, and as new messages come in, it has just a tiny amount to re-scroll.

    Thread Starter designvibe

    (@designvibe)

    I’ve changed the time in which messages are cleared so they appear on the page/chat longer. Because it’s now built up it’s scrolling to the bottom (latest message) but takes ages. I just wondered if there was a way to change the messages to appear at the top this way it wouldn’t need to scroll down to find the latest message.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    You’ll have to change where the messages are inserted into the log file, which looks to be happening in the save_message() function, and also change the js animation to scroll to the top instead of the bottom in the js file.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    While I’m thinking about it, do note that any updates pushed out in the future would overwrite these changes, as I don’t have any immediate plans to change this part. At best, I’d probably end up adding some filters as possible to change this behavior for others.

    Thread Starter designvibe

    (@designvibe)

    Hi,

    Yes I’ve tweeked it to start from the bottom rather than scrolling. Working fine just need to remember not to update!

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘List new messages at top/Scroll quicker’ is closed to new replies.