We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad8118 commit bfe3567Copy full SHA for bfe3567
src/index.js
@@ -71,8 +71,7 @@ ScrollIntoViewIfNeeded.propTypes = {
71
'if-needed',
72
]),
73
boundary: PropTypes.oneOfType([
74
- // eslint-disable-next-line no-undef
75
- PropTypes.instanceOf(Element),
+ PropTypes.element,
76
PropTypes.func,
77
78
skipOverflowHiddenElements: PropTypes.bool,
0 commit comments