Skip to content

Conversation

@anchmelev
Copy link
Owner

Thanks for submitting a pull request to RGL!

Please reference an open issue. If one has not been created, please create one along with a failing
example or test case.

Please do not commit built files (/dist) to pull requests. They are built only at release.

Leon Machens and others added 30 commits December 19, 2018 14:44
* travis: test on node 10

This is the current LTS release of node. https://github.com/nodejs/Release#release-schedule

* Update .travis.yml

Updated to specify latest node version & latest LTS
* fix(test): fix jsdom error w/jest

* fix(test): ensure TimSort in Node 11+ doesn't break our tests

The test shouldn't depend on the runtime's Array#sort internals
- add isDroppable flag for grids
- add onDrop callback for getting an element position after dropping
- add documentation
- add an example
feat(grid): add an ability to drop elements from outside of a grid
componentDidUpdate

- fix warnings
- fix performance issues
fix: replace componentWillReceiveProps by getDerivedStateFromProps and componentDidUpdate
fix(examples): fix typo 16-drag-from-outside -> 15-drag-from-outside
…eact-grid-layout#964 (react-grid-layout#1016)

* added an ability to use different margins, containerPadding for different breakpoints.

* backward compatibility added;

* minor changes:
- update README;
- update default value for margin into RRGL;

* renamed getMarginPaddingValue to getIndentationValue and moved from class.

* update README and type for getIndentationValue.
…g-rgl

add Quadency to projects using react-grid-layout
Squashed commit of the following:

commit f95716b86d54701c02cc5496ca96613ac66f8636
Author: Samuel Reed <samuel.trace.reed@gmail.com>
Date:   Wed Oct 9 11:14:18 2019 -0400

    update yarn.lock

commit e017ebc
Author: Samuel Reed <samuel.trace.reed@gmail.com>
Date:   Wed Oct 9 11:09:47 2019 -0400

    chore(babel): add browserslistrc

commit 7196301
Author: wadezhan <wadezhan@tencent.com>
Date:   Wed Sep 11 09:31:09 2019 +0800

    remove eslint disable rule; componentWillReceiveProps will be refactor

commit ec02d58
Author: wadezhan <wadezhan@tencent.com>
Date:   Sat Aug 3 09:32:25 2019 +0800

    chore(eslint): lint fix

commit 561290d
Author: wadezhan <wadezhan@tencent.com>
Date:   Sat Aug 3 09:13:49 2019 +0800

    chore(babel): upgrade
STRML and others added 28 commits February 25, 2020 11:25
This made the bug described in react-grid-layout#1137/react-grid-layout#1138 visible by adding typing
to examples, ensuring that we're using RGL and RRGL as well as the
WidthProvider HOC in actual code, so Flow covers it completely.
This means that shouldComponentUpdate will return `true` in almost all cases, unless
the developer is careful to memoize it. A new "Performance" section has been added
to the README to indicate this.
The `count` variable comes from props, not as an argument to the useMemo callback.
* test(enzyme): add basic enzyme snapshot test

* test(flow): make Layout a $ReadOnlyArray

* test(RRGL): test that layouts is not modified

* test(lifecycle): add deep snapshots

* fix(webpack): remove esm mode for now, not useful

* fix(test): rem chance so we're fully deterministic

* test(travis): ensure node 12 sort algo doesn't blow up tests

* fix(showcase): make random placement more appealing
…ayout#1164)

* test(mock): ensure we're importing source files

Otherwise we'll import from build/

* fix(droppable): ensure SCU doesn't short-circuit droppable

We can also do a simpler equality check on activeDrag

Added test to ensure we don't regress this

Fixes react-grid-layout#1152 and supersedes react-grid-layout#1162
# Conflicts:
#	lib/GridItem.jsx
#	lib/ReactGridLayout.jsx
We're on to prettier 2.0 which will cause some changes for a later commit
Very slight style changes
…#975)

Co-authored-by: Victor Chugunov <v.chugunov@reply.de>
Saves about 10kB compressed & 45kB uncompressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.