I use the visjs timeline library to have a view of the work weeks. I used the hiddenDates option which allows me to hide Saturday & Sunday , but when I move an item through Saturday and Sunday to go from Friday to Monday, the item has a strange behavior.
By looking at the browser console I understand that Saturday and Sunday are well hidden on the screen but, that the item goes through them and will have a moment where (item.start & item.end = week end date ) which explains the weird behavior of the item.
How can I fix this problem to allow the item to have a smooth transition between Friday and Monday when moving please?
Here is a link to help you understand the problem. Try to move from Friday to Monday slowly with the item : (link is in the comments)