Yotam Berkowitz
3addd51046
Add vis-drag-center to fix dragging bug when template is react component
8 years ago
yotamberk
932dfb1754
Fix Vertical visibility for all item types ( #2143 )
* Hide vertically hidden ranged items in groups that are not visible
* Fix misspelling
* Fix examples that do not contain groups
* Add example for vertical hidden ranged items
* Fix indent format in RangeItem
* Fix example
* Fix other examples after addition of vertical hiding range items in groups
* Add case of zero margin axis
* Fix commented out lines in examples
* Fix vertical visibility bug
8 years ago
yotamberk
439aa79a68
Expose the item/group element in option.template and option.groupTemplate ( #2153 )
* Hide vertically hidden ranged items in groups that are not visible
* Add element to templates options
* Fix comment typo
* Add documentation for react mounting
8 years ago
Yotam Berkowitz
b32f9428ff
Fix comment typo
8 years ago
Yotam Berkowitz
89a0bfd36a
Add element to templates options
8 years ago
Iskander508
d9576bee50
Added floating-point compensation to range-item width calculation ( #2107 )
* fixes #2092
8 years ago
Iskander508
6539ca74ed
Fixed position of box item ( #2106 )
* fixes #2064
8 years ago
yotamberk
0ba6e16498
Hide vertically hidden ranged items in groups that are not visible ( #2062 )
* Hide vertically hidden ranged items in groups that are not visible
* Fix misspelling
* Fix examples that do not contain groups
* Add example for vertical hidden ranged items
* Fix indent format in RangeItem
* Fix example
* Fix other examples after addition of vertical hiding range items in groups
* Add case of zero margin axis
8 years ago
Yotam Berkowitz
f1cb7320aa
Hide vertically hidden ranged items in groups that are not visible
8 years ago
Alexander Wunschik
343ead9dcb
fixes BoxItem's initial width if content width is dynamic; fixes #2032 ( #2035 )
8 years ago
Alexander Wunschik
8dd7849330
fixes BoxItem's initial width if content width is dynamic; fixes #2032 ( #2035 )
8 years ago
Raphaël Pinson
087b96b6cf
Set content width to avoid overflow ( Fix #1853 )
8 years ago
Yotam Berkowitz
4f49135313
remove extra console.logs
8 years ago
Yotam Berkowitz
885ebffbce
fix delete btn and remove console.logs
8 years ago
Yotam Berkowitz
eb445d6d84
fix stacking bug in rtl and css for rtl
8 years ago
Yotam Berkowitz
60d81a81e4
add events support for rtl
8 years ago
jos
23814fc167
Fixed #1695 : Item line and dot not correctly reckoning with the line width when using left or right align
8 years ago
jos
304129882e
Fixed #1326 : wrongly positioned dot of PointItems
9 years ago
jos
b750d2e4dc
Added css class `vis-editable`, created an example demonstrating individually editable items (see #980 )
9 years ago
bertolds
f43e935bef
Issues #275 , #363 - individual Timeline items editable or readonly
Timeline will check for the property 'editable' on individual items.
if editable === true
ignore timeline option 'editable'
allow item to be edited
else if editable === false
ignore timeline option 'editable'
do not allow item to be edited
else
use timeline option 'editable'
If two items are selected and one is not editable, only the editable
item is draggable.
This change required the css class .vis-editable be moved from the
item set to the individual item containers to maintain proper styling.
9 years ago
jos
ac0563e408
Fit working (still needs simplification)
9 years ago
jos
1648604401
Halfway implementing improved Timeline.fit()
9 years ago
jos
09bc7d0993
Call event.stopPropagation() before adding or removing items (see #577 )
9 years ago
jos
f30a3a4556
Integrated an option configurator
9 years ago
jos
61108f393e
Renamed class `.vis-item-frame` to `.vis-item-overflow`
9 years ago
jos
cf8c299d11
Removed the option `padding` for Timeline, is now redundant (can be done purely with css now)
9 years ago
jos
d4ba655050
Changed the 'auto' alignment of range item contents such that it always displays the left side of the conents (see #785 )
9 years ago
jos
1d3ec56c49
Added extra div to background items too
9 years ago
jos
0585fc4d34
Fixed delete button not being visible
9 years ago
jos
bc3e4a26d1
Fixed #782 : Contents of items created from a template being unnecessary recreated on click, causing mouse events to get lost.
9 years ago
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in Graph2d)
9 years ago
jos
88a9149369
Fixed preventDefault issue with hammer.js (a brute force solution but lets see how it goes...)
9 years ago
jos
34a576761c
The event handlers `onMove` and `onMoving` are now invoked with all item properties as argument, and can be used to update all properties (like content, className, etc) and add new properties as well
9 years ago
jos
2cf7d106ea
Call `event.stopPropagation()` before callback functions like onAdd, onRemove, etc. (see #577 )
9 years ago
jos
dd7f8048e0
Fixed #676 : misalignment of background items when using subgroups and the group label's height is larger than the contents.
9 years ago
jos
b5f57c2dd3
Fixed a bug in the configuration option `config` when zooming out a lot when using range items
9 years ago
jos
6fdb09e82f
Implemented configuration option `order: function` to define a custom ordering for the items (see #538 , #324 ).
9 years ago
jos
6818d68ba1
Neatly using hammer2 for the delete button
10 years ago
jos
e19502ebc7
Moving Timeline working with hammer2 (stop event propagation still an issue)
10 years ago
jos
3b08676a57
Halfway implementing hammerjs2 for Timeline
10 years ago
jos
60e0525187
Fixed another bug related to overflowing contents ( #459 )
10 years ago
jos
246b0be530
Fixed background items being selectable and editable when a height is set (see #454 )
10 years ago
jos
e95c28d04f
Fixed #408 : height of background items not 100% when having a fixed or max height defined.
10 years ago
jos
727031283c
Background areas are now neatly ignored from stacking
10 years ago
jos
91075357ab
Ok background areas seem to work fine now
10 years ago
Alex de Mulder
a12e44dc14
updated subgroups to have specific indexes for sorting later on
10 years ago
Alex de Mulder
f6a1a252ed
updated background item for better subgroup alignment. Fixed dragging items with hiddenDates
10 years ago
Alex de Mulder
c35261eb9e
cleaned up subgroups, removed magic numbers, added example, works for top and bottom orientations.
10 years ago
jos
4a3acd623e
Fixed #331 : onclick events in items not working.
10 years ago
jos
807921b3cb
Implemented field `style` for both items and groups, to set a custom style for individual items.
10 years ago