Skip to content

Commit 1857449

Browse files
committed
[changed] Friendlier default for AutoAffix
1 parent eb78645 commit 1857449

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AutoAffix.js

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ AutoAffix.propTypes = {
152152
// This intentionally doesn't inherit default props from `<Affix>`, so that the
153153
// auto-calculated offsets can apply.
154154
AutoAffix.defaultProps = {
155+
viewportOffsetTop: 0,
155156
autoWidth: true
156157
};
157158

0 commit comments

Comments
 (0)