Skip to content
  • Kezi Olio's avatar
    Fix forms when inertially scrolling · bdb2df77
    Kezi Olio authored and Nate Graham's avatar Nate Graham committed
    `setViewport` automatically adds an item to the history if it finds that it
    moved for more than a page, which we don't want to do when automatically
    scrolling, as with inertial scrolling.
    
    This commit adds a new function `setViewportWithHistory()` which takes an
    argument to optionally avoid preserving history. This avoids breaking ABI.
    The new history-less functionality is used when inertially scrolling.
    
    BUG: 421354
    FIXED-IN: 1.11.2
    bdb2df77