Open
Description
I am using vis-timeline "vis-timeline": "^7.5.1"
on chrome browser in Android OS,
Getting error on mobile (android) devices for width
of on repositionX
at
vis-timeline/lib/timeline/component/item/RangeItem.js in repositionX at line 255:37
Here is the link to sentry issue i am getting:
https://sentry.io/share/issue/79fcb72ab73e46c693f6049d73e9a1a8/
NOTE: facing the issue on desktop browser now.. mostly happens only on mobile (android).
Looks like its trying to redraw all components using below
// redraw all components
this.components.forEach(component => {
resized = component.redraw() || resized;
});
which recalulates position causing an error:
repositionX(limitSize) {
const parentWidth = this.parent.width; // <-------------- error here width of null
Does anyone else is facing the same issue or know the cause of it ?