react-grid-layout v1.1.0 Release Notes
Release Date: 2020-09-03 // over 3 years ago-
🆕 New Features
- 0️⃣ You can now place resizable handles on all corners. Use the
resizeHandles
prop, which is default['se']
(for 'southeast').- Allowable values are:
- 's' - South handle (bottom-center)
- 'w' - West handle (left-center)
- 'e' - East handle (right-center)
- 'n' - North handle (top-center)
- 'sw' - Southwest handle (bottom-left)
- 'nw' - Northwest handle (top-left)
- 'se' - Southeast handle (bottom-right)
- 'ne' - Northeast handle (top-right)
- These values may be combined, e.g.
['s', 'se', 'e']
, to place three handles on the bottom side, bottom-right corner, and right side.
🛠 Bugfixes
- ⏪ Revert
containerPadding
change in #1138. This change was meant to be types-only, but it caused a behavioral change where the default value ofcontainerPadding
became[0, 0]
, notmargin
, which is default[10, 10]
. - ➕ Add a few more files to
npmignore
to improve package size.
- 0️⃣ You can now place resizable handles on all corners. Use the