Note: scrollElement prop defaults to the window if not provided.
With version 2.0.3 this results in:
Console error: Missing required elements where scrollElement: null
Stickiness does not work on scrolling.
The documentation suggests that scrollElement is not a required prop since its default is null. So I'm not clear if this is a regression bug or an intended change to behaviour.
Can we clarify if this an intended breaking change or a bug?
Prior to version 2.x.x it was possible to trigger stickiness without providing
boundaryElement
e.g.
Note:
scrollElement
prop defaults to the window if not provided.With version 2.0.3 this results in:
Missing required elements
wherescrollElement: null
The documentation suggests that
scrollElement
is not a required prop since its default is null. So I'm not clear if this is a regression bug or an intended change to behaviour.Can we clarify if this an intended breaking change or a bug?
Thanks.