Skip to content

Commit fc9661a

Browse files
committed
Merge pull request #35 from react-bootstrap/autoaffix-vot-default
[changed] Friendlier default for AutoAffix
2 parents eb78645 + 1857449 commit fc9661a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: 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)