Need to Scroll Down Everytime in long chat
Submitted changeindia, Feb 09 2012 06:49 PM | Last updated Feb 09 2012 06:49 PM
In long chat, whenever new message appears, i have to scroll down to read it properly.
http://i.lulzimg.com/3897cc5d7e.jpg
It did not happen earlier, maybe due to new update of Chrome 17, not sure.
http://i.lulzimg.com/3897cc5d7e.jpg
It did not happen earlier, maybe due to new update of Chrome 17, not sure.
| Status: | Cannot Reproduce |
| Version: | 1.4.0 |
| Fixed In: |











10 Comments
If you can find any more details that may let me reproduce (e.g. certain condition needs to be met for this to happen) please reply with those details.
Some of my users complain some don't even when they seem to be on the same configuration in terms of browser/version/os.
As a temporary fix I've added following line in the js
* * See above example comments after Debug.write lines */ if( ( $('messages-display').getHeight() - _totalOffset + $('messages-display').scrollTop ) >= ( $('messages-display').scrollHeight - 10 ) ) { scrollBottom = true; } //scrollBottom = true;This fixed the problem for everyone, but defeated the functionality of not auto-scrolling when the scroll is not all the way down.
I didn't have time to investigate the issue yet, but above lines seem to be failing.
I have a movie proving the behaviour here:
http://realboxdevelopment.com/C40941940551.avi
if( ( $('messages-display').getHeight() - _totalOffset + $('messages-display').scrollTop ) >= ( $('messages-display').scrollHeight - 10 ) ) { scrollBottom = true; } scrollBottom = true;this was mentioned last year:
http://community.invisionpower.com/tracker/issue-27019-chat-not-scrolling-to-bottom/page__st__20
Client in ticket #799596 says has this same issue if you want to check with him.
It should have scrolled to: