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 5b580a4 commit b5026b1Copy full SHA for b5026b1
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rc-drawer-menu",
3
- "version": "0.5.4",
+ "version": "0.5.5",
4
"description": "drawer menu animation component for react",
5
"keywords": [
6
"react",
src/Drawer.jsx
@@ -154,6 +154,9 @@ class Drawer extends React.PureComponent {
154
getScollDom = (dom) => {
155
const doms = [];
156
const setScrollDom = (d) => {
157
+ if (!d) {
158
+ return;
159
+ }
160
if ((d.scrollHeight > d.clientHeight || d.scrollWidth > d.clientWidth)) {
161
doms.push(d);
162
}
0 commit comments