react-window 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -398,8 +398,8 @@ export declare interface ListImperativeAPI {
398
398
  * Dynamic row heights are measured after rendering;
399
399
  * Content that resizes later may require another scrollToRow call.
400
400
  *
401
- * ⚠️ `behavior` "smooth" is ignored for dynamic height lists;
402
- * `scrollToRow` is instant as it requires rows to be lazily measured
401
+ * ℹ️ For dynamic height lists, "smooth" scrolling is animated by the list (rather than the browser)
402
+ * so that the destination can be corrected as rows are measured along the way.
403
403
  *
404
404
  * @param align Determines the vertical alignment of the element within the list
405
405
  * @param behavior Determines whether scrolling is instant or animates smoothly
@@ -463,8 +463,8 @@ export declare type ListProps<RowProps extends object, TagName extends TagNames
463
463
  * Dynamic row heights are measured after rendering;
464
464
  * Content that resizes later may require another scrollToRow call.
465
465
  *
466
- * ⚠️ `behavior` "smooth" is ignored for dynamic height lists;
467
- * `scrollToRow` is instant as it requires rows to be lazily measured
466
+ * ℹ️ For dynamic height lists, "smooth" scrolling is animated by the list (rather than the browser)
467
+ * so that the destination can be corrected as rows are measured along the way.
468
468
  *
469
469
  * @param align Determines the vertical alignment of the element within the list
470
470
  * @param behavior Determines whether scrolling is instant or animates smoothly