Skip to content
This repository was archived by the owner on Oct 24, 2019. It is now read-only.

Commit 4b4695e

Browse files
author
jung-han
committed
Merge branch 'master' of https://github.com/nhnent/toast-ui.react-grid into production
2 parents b0dce39 + 7d2e17b commit 4b4695e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@toast-ui/react-grid",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "TOAST UI Grid for React",
55
"main": "dist/toastui-react-grid.js",
66
"files": [

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class Grid extends React.Component {
1919
.forEach((key) => {
2020
const eventName = key[2].toLowerCase() + key.slice(3);
2121
// For <Grid onFocus={condition ? onFocus1 : onFocus2} />
22-
if (prevProps && prevProps[key] === props[key]) {
22+
if (prevProps && prevProps[key] !== props[key]) {
2323
this.gridInst.off(eventName);
2424
}
2525
this.gridInst.on(eventName, props[key]);

0 commit comments

Comments
 (0)