It happens on my forums as well. I assume because the JS calculates the offset before the image appeares, thus when it appears, it offs by a huge margin (depending on the image's height). I could see a small delay before the attached image appeared on my forums, so it was obvious that the focus was moved to the bottom of the chat list before the image appeared.I can confirm the problem. It seems to happen on all modes except for "All Pages Mode".
The refresh rate is two seconds.@Shiro, it's not a bug with the message retrieval. It never happened to me so the only explanation I can find it's due to a slow server response when posting and refresh takes place at the same time as the message gets returned. Is refresh rate 1 second or more?
Version 1.15.2 fixes a bug with autoscroll on page load when there are embedded images.
Also, a phrase has been removed because it was from another Add-on of mine and I accidentally set it to this Add-on.
Version 1.15.2 has been tested with XF 1.5 Beta 2 and no issues have been found so far.
I'm still getting this issue, although only on Chrome. Just tested it on Firefox before I write this reply, and it appeared to be working fine.Also, on all pages mode. If I've opened the chat for the first time, it would bring me to the bottom of the chat (which is as expected). But if I closed the chat and then opened it again, it would bring me to the top of the chat instead?
rrorException: Fatal Error: syntax error, unexpected end of file - library/Siropu/Chat/ControllerPublic/Chat.php:654
Generiert durch: Unbekanntes Benutzerkonto, Vor 18 Minuten
Stapelverfolgung
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Benötigter Status
array(3) {
["url"] => string(53) "http://xxx/index.php?chat/refresh"
["_GET"] => array(1) {
["chat/refresh"] => string(0) ""
}
["_POST"] => array(11) {
["room_id"] => string(1) "0"
["last_id"] => string(2) "83"
["inverse"] => string(1) "1"
["no_users"] => string(1) "0"
["show_ignored"] => string(1) "0"
["all_pages"] => string(1) "1"
["embedded"] => string(1) "0"
["_xfRequestUri"] => string(20) "/index.php?articles/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.