You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,13 @@ and this project adheres (more or less) to [Semantic Versioning](http://semver.o
7
7
8
8
## Unreleased
9
9
10
+
### Fixed
11
+
12
+
* Provided a new key `groupLabelKey` to allow splitting of the key used to render the Sidebar and the InfoLabel visible during drag operations. `groupTitleKey` continues to be used to render the Sidebar. #442@thiagosatoshi
13
+
* fix scroll left/right causes item move/edit to be at incorrect time #401@acemac
14
+
* now `getResizeProps` take `leftClassName` and `rightClassName` and returns className for left and right props @acemac
15
+
* fix functionality of `itemTitle` and `itemDivTitle`[issue](https://github.com/namespace-ee/react-calendar-timeline/issues/429#issuecomment-426456693)@acemac
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,12 +141,13 @@ An array specifying keys in the `items` and `groups` objects. Defaults to
141
141
groupIdKey:'id',
142
142
groupTitleKey:'title',
143
143
groupRightTitleKey:'rightTitle',
144
+
groupLabelKey:'title', // key for what to show in `InfoLabel`
144
145
itemIdKey:'id',
145
146
itemTitleKey:'title', // key for item div content
146
147
itemDivTitleKey:'title', // key for item div title (<div title="text"/>)
147
148
itemGroupKey:'group',
148
149
itemTimeStartKey:'start_time',
149
-
itemTimeEndKey:'end_time'
150
+
itemTimeEndKey:'end_time',
150
151
}
151
152
```
152
153
@@ -511,16 +512,20 @@ Rather than applying props on the element yourself and to avoid your props being
511
512
*`getResizeProps` returns the props you should apply to the left and right resize handlers only if `useResizeHandle` set to true. The returned object has the props for the left element under property `left` and the props to be applied to the right element under `right` :
512
513
513
514
* left
514
-
* ref: function to get element referance
515
+
* ref: function to get element reference
515
516
* style: style to be applied to the left element
517
+
* className: class names to be applied to left className
516
518
* right
517
-
* ref: function to get element referance
519
+
* ref: function to get element reference
518
520
* style: style to be applied to the right element
521
+
* className: class names to be applied to left className
519
522
520
-
These properties can be override using the prop argument with proprties:
523
+
These properties can be override using the prop argument with properties:
521
524
522
525
* leftStyle: style to be added to left style
523
526
* rightStyle: style to be added to right style
527
+
* leftClassName: classes to be added to left handler
528
+
* rightClassName: classes to be added to right handler
0 commit comments