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 8d8982a commit b702cd9Copy full SHA for b702cd9
src/index.js
@@ -35,7 +35,8 @@ export default class ScrollIntoViewIfNeeded extends PureComponent {
35
'if-needed',
36
]),
37
boundary: PropTypes.oneOfType([
38
- PropTypes.element,
+ // eslint-disable-next-line no-undef
39
+ PropTypes.instanceOf(Element),
40
PropTypes.func,
41
42
skipOverflowHiddenElements: PropTypes.bool,
0 commit comments