Not Auto-scroling
-
For some reason the chat window does not auto-scroll the chat. Users have to keep moving the scroll bar every few seconds to see the latest chat text. This is the case if I have the latest chat at the top or at the bottom.
-
Hi,
auto-scroll works only if the scrollbar is moved to bottom. If you scroll a little up it will not work. If the auto-scroll have been scrolling all the time there would be no way to read previous messages.
Please tell me what browser are you using. Provide also a link where I can test it.
Marcin
Hi Marcin,
I can send you login info for 3 test users I created so you can test wise chat on my site. Where can I email this info?
Marcin, you can test the chat at the below url. I have removed and re-installed Wise Chat but it is still refusing to scroll with the chat conversation, forcing users to manually scroll to see the latest chat.
Marcin, never mind my last email because we deleted Wise Chat. Our site slowed to a crawl after activating your plugin. As soon as we deactivate Wise Chat everything speeds up again. This was happening with no users or visitors to the site.
I am not allowed to ask for or receive credentials on this forum. I can test only public websites. I’m sorry.
WiseChat does not do any time-consuming calculations on startup. Did you have the plugin installed on just one page or multiple?
I had Wise Chat installed in the footer, so it was on all pages. The site has 6 pages.
Thank you. I will investigate this. Sorry that I can’t help at the moment.
The issues with performance are fixed now and ready to release in the version 1.9.0.
Hi!
I am using 2.0.1 and have the same problem – changing the AJAX didn’t solve the issue?
Alex
To solve this problem:
1) Go to: wp-content/plugins/wise-chat/js/ui/
2) Open the file messages.js
3) Find function isFullyScrolled()
4) Change it to:function isFullyScrolled() { if (isAscendingOrder()) { return (messagesContainer.height() + messagesContainer.scrollTop()) >= messagesContainer[0].scrollHeight; } else { return messagesContainer.scrollTop() == 0; } };So basically the change is from == to >=
Thank you to the author of this chat, it’s amazing π
Hi!
Thanks for your replay. I have changed the code; but without success. No auto-scrolling :-(. I tried both AJAX engines.
For me it works. Are you sure the file has been changed properly and is not from cache?
Auto-scrolling will work only if the chat is already scrolled to the bottom.
Also make sure that you have checked “newest on the bottom” in the options.
Go to my chat test and tell me if it works for you:
http://www.ball3d.net.pl/chat-test/Hi!
Your test is working but my site not.
Don’t know why. Code is changed, “Newest on the bottom” is chosen.
I am using Mozilla Firefox.Regards
Alex
Hi,
@maniek1986 – Thank you for your appreciation and for trying to provide a solution.
AZ22 – It would be better if I had debug the problem on your installation of the Wise Chat. Could you share a link to your website?
Regards
MarcinHi!
Thanks, Marcin!
https://www.itb-admin.xx/unser-itb/groups/
Then right hand…Please replace xx with de
Kind regards
The topic ‘Not Auto-scroling’ is closed to new replies.