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
{{ message }}
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
In visjs 4.21.0, if you initialize a timeline with no options, and then use timeline.setOptions({editable:true}), then you need to double-click on an item in order to edit it. If the timeline is initialized with editable:true then single click works fine. In version 4.16.1 this bug did not exist.
Minimal reproducible code:
<!DOCTYPEHTML><html><head><scriptsrc="vis-4.21.0/vis.min.js"></script><linkhref="vis-4.21.0/vis.min.css"rel="stylesheet"type="text/css"/></head><body><divid="visualization"></div><scripttype="text/javascript">
var container = document.getElementById('visualization');
var items = [
{id: 1,content: 'item 1',start: '2013-04-19'}
]
var timeline = new vis.Timeline(container, items, {});
timeline.setOptions({editable:true})
</script></body></html>
The text was updated successfully, but these errors were encountered:
In visjs 4.21.0, if you initialize a timeline with no options, and then use
timeline.setOptions({editable:true})
, then you need to double-click on an item in order to edit it. If the timeline is initialized witheditable:true
then single click works fine. In version 4.16.1 this bug did not exist.Minimal reproducible code:
The text was updated successfully, but these errors were encountered: