# react-grid-layout-enhancement

> A draggable and resizable grid layout with responsive breakpoints, for React.

Latest version **1.0.10** (published 2021-07-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-grid-layout-enhancement
pnpm add react-grid-layout-enhancement
yarn add react-grid-layout-enhancement
bun add react-grid-layout-enhancement
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2021-07-19 |
| First published | 2021-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 698.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22492 |
| Author | Samuel Reed |
| Maintainers | lsx08 |
| Keywords | react, grid, drag, draggable, resize, resizable, fluid, responsive |

## Links

- npm: https://www.npmjs.com/package/react-grid-layout-enhancement
- Repository: https://github.com/STRML/react-grid-layout
- Issues: https://github.com/STRML/react-grid-layout/issues
- npm.io page: https://npm.io/package/react-grid-layout-enhancement

## Dependencies (5)

- [classnames](https://npm.io/package/classnames.md) 2.x
- [prop-types](https://npm.io/package/prop-types.md) ^15.0.0
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.0.0
- [react-draggable](https://npm.io/package/react-draggable.md) ^4.0.0
- [react-resizable](https://npm.io/package/react-resizable.md) ^1.10.0

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.10 (latest) — 2021-07-19
- 1.0.9 — 2021-07-19
- 1.0.8 — 2021-07-19
- 1.0.7 — 2021-07-19
- 1.0.6 — 2021-07-19
- 1.0.5 — 2021-07-19
- 1.0.4 — 2021-07-17
- 1.0.3 — 2021-06-09
- 1.0.2 — 2021-05-13
- 1.0.1 — 2021-02-22
- 1.0.0 — 2021-02-22

## README

# React-Grid-Layout-Enhancement

React-Grid-Layout-Enhancement is a grid layout system modified by [React-Grid-Layout](https://github.com/STRML/react-grid-layout), for React.

change log:

1.add layout change reason
```
add ChangeReason in utils.js:
export const ChangeReason = {
  didMount: "didMount",
  didUpdate: "didUpdate",
  dropItem: "dropItem",
  containerWidthChange: "containerWidthChange",
  itemMove: "itemMove",
  itemResize: "itemResize"
};

modify onLayoutChange func:
onLayoutChange(changeReason, layout, newLayouts)

so that developer can know the reason why onLayoutChange fired
```

2. lock width and height radio for ResponsiveReactGridLayout when window size changed
```
u can add isLockWidthAndHeightRadio={false} props to ResponsiveReactGridLayout to disable this function
```

---
_Source: https://npm.io/package/react-grid-layout-enhancement · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
