Prevent the page from jumping when modifying an issue state.

Review Request #4176 — Created May 26, 2013 and submitted

Information

Review Board
release-1.7.x

Reviewers

Prevent the page from jumping when modifying an issue state.

The introduction of the issue summary table had an annoying problem
where the page would scroll slightly after clicking Fixed, Drop, or
Reopen. The reason is that the matching entry in the table would be
added/removed, and that would affect the scroll offset.

We now work around that by updating the scroll offset after modifying
the table to scroll by the appropriate difference. Users won't see it
jump anymore.
Tested all of the issue buttons. The page never appeared to even scroll.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/reviews.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.7.x (3d46c3f)
Loading...