• Robert Knight's avatar
    Rename `overflowHysteresis` and improve doc strings · 533fbaf0
    Robert Knight authored
    The prop name `overflowHysteresis` was frequently typo-d and is also
    misleading as the excerpt doesn't remember the history of the overflow
    value, it just uses it as a fixed threshold. Rename it to
    `overflowThreshold` instead.
    
    Also improve / simplify a few JSDoc comments per PR feedback.
    533fbaf0
excerpt-test.js 4.1 KB