We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1fcba commit c0eef97Copy full SHA for c0eef97
src/SortableContainer/index.js
@@ -105,7 +105,10 @@ export default function sortableContainer(
105
]),
106
getContainer: PropTypes.func,
107
getHelperDimensions: PropTypes.func,
108
- helperContainer: PropTypes.instanceOf(HTMLElement),
+ helperContainer:
109
+ typeof HTMLElement === 'undefined'
110
+ ? PropTypes.any
111
+ : PropTypes.instanceOf(HTMLElement),
112
};
113
114
static childContextTypes = {
0 commit comments