I needed to turn off the auto-scroll to the new comment. It messes up users who are in the midst of reading or writing a different comment.

This patch adds a settings for it.

CommentFileSizeAuthor
ajax_comments-scroll.patch2.53 KBjody lynn

Comments

socialnicheguru’s picture

Issue summary: View changes

It breaks js

Uncaught TypeError: Cannot read property 'scroll' of undefined ajax_comments.js?n8ehl5:7
Drupal.behaviors.ajaxComments.attach ajax_comments.js?n8ehl5:7
(anonymous function) drupal.js?n8ehl5:76
e.extend.each jquery.min.js?v=1.7.1:2
Drupal.attachBehaviors drupal.js?n8ehl5:74
(anonymous function) drupal.js?n8ehl5:412
n jquery.min.js?v=1.7.1:2
o.fireWith jquery.min.js?v=1.7.1:2
e.extend.ready jquery.min.js?v=1.7.1:2
c.addEventListener.B jquery.min.js?v=1.7.1:2

socialnicheguru’s picture

Status: Needs review » Needs work
muschpusch’s picture

Status: Needs work » Fixed

This is fixed in current dev, please test

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.