Skip to content

Commit

Permalink
Merge pull request #142 from Groww/fix/dom-invalid-props
Browse files Browse the repository at this point in the history
limited dom-prop injection to only the valid ones
  • Loading branch information
vikaz-singh authored Feb 15, 2023
2 parents dd9fe22 + c9f369a commit b4c291b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@
"lodash.debounce": "^4.0.8",
"react-waypoint": "^10.1.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ const MutableAccordion = (props: Props) => {
: <div style={
{
...childStyle,
display: 'grid' // to ensure margin is included in the height of the parent container, flex has some issues.
display: 'grid', // to ensure margin is included in the height of the parent container, flex has some issues.,
gridTemplateColumns: '100%' // to ensure no overflow in x direction
}
}
className={childClass}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@ export const PROPS_TO_OMIT = [
'easing',
'height',
'onAnimationEnd',
'onAnimationStart'
'onAnimationStart',
'onMountOpen',
'showRightIcon',
'parentClass',
'headerClass',
'iconClass',
'titleClass',
'useAnimateHeight',
'mutable',
'onToggleCallback',
'maxHeight'
];


Expand Down

0 comments on commit b4c291b

Please sign in to comment.