Skip to content

Commit

Permalink
Make resize options identifiable
Browse files Browse the repository at this point in the history
fixes #337

Signed-off-by: muddana-satish <satish.muddana@ericsson.com>
  • Loading branch information
muddana-satish authored and MatthewKhouzam committed May 21, 2021
1 parent e688661 commit c1483bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.4",
"@types/lodash": "^4.14.142",
"@types/react-grid-layout": "^0.16.7",
"@types/react-grid-layout": "^1.1.1",
"@types/react-modal": "^3.8.2",
"@types/react-test-renderer": "^16.9.2",
"@types/react-virtualized": "^9.21.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class TraceContextComponent extends React.Component<TraceContextProps, Tr
// Syntax to use ReactGridLayout with Custom Components, while passing resized dimensions to children:
// https://github.com/STRML/react-grid-layout/issues/299#issuecomment-524959229
}
<ResponsiveGridLayout className='outputs-grid-layout' margin={[0, 5]} isResizable={true} isRearrangeable={true} isDraggable={true}
<ResponsiveGridLayout className='outputs-grid-layout' margin={[0, 5]} isResizable={true} isDraggable={true} resizeHandles={['se', 's', 'sw']}
layouts={{ lg: layouts }} cols={{ lg: 1 }} breakpoints={{ lg: 1200 }} rowHeight={this.DEFAULT_COMPONENT_ROWHEIGHT} draggableHandle={'.title-bar-label'}
style={{ paddingRight: this.SCROLLBAR_PADDING }}>
{outputs.map(output => {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2634,10 +2634,10 @@
dependencies:
"@types/react" "^16"

"@types/react-grid-layout@^0.16.7":
version "0.16.7"
resolved "https://registry.yarnpkg.com/@types/react-grid-layout/-/react-grid-layout-0.16.7.tgz#53d5f5034deb0c60e25a0fa578141e9a0982011f"
integrity sha512-A3tW9xySd03KGONkp8gP4+QRLuT1Mcx++m0hO0nZIM4H/Qwz8GsiDv+9okbmHk5HcsHwY5Jdsn6Cv50hwoNG+A==
"@types/react-grid-layout@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/react-grid-layout/-/react-grid-layout-1.1.1.tgz#1eb322fa88cd1475bdc60ecca9676f6853e18887"
integrity sha512-bvPkITzwGGOZKjp01nVSgPrdfGm/uTa5t8Odd8vQRXJsLj7uZLZXSXgWr+TiXBAkUsmHPxhsyswXQCiFeDuZnQ==
dependencies:
"@types/react" "*"

Expand Down

0 comments on commit c1483bc

Please sign in to comment.