Coder Social home page Coder Social logo

Comments (6)

neuronetio avatar neuronetio commented on July 19, 2024

That is weird take a look
Maybe upgrading your vue version will help

from gantt-elastic.

renaudham avatar renaudham commented on July 19, 2024

Hi

the problem occurs only with one of the ForeignObject, the one directly into the template in TaskList.vue
its ok for the others.

If you put your gantt chart in a vue page loaded in a vue router link, you don't have this problem?

Thanks

from gantt-elastic.

neuronetio avatar neuronetio commented on July 19, 2024

I don't have this problem.
Again, I think that this is vue related bug - look at this vue bug report - you have the same problem here (I think).
If you update your vue to latest version and problem will still exists, I will reopen this issue.
Thanks for report anyway!

from gantt-elastic.

neuronetio avatar neuronetio commented on July 19, 2024

Take a look at this fiddle
Remove vue version 2.3.0 and uncomment version 2.5.17 instead - problem does not exists anymore.

from gantt-elastic.

renaudham avatar renaudham commented on July 19, 2024

Hi

Still not working with last updates.

Updated all to latest version, same issue.

Note that I use it via WebPack and Npm, not loading the script in a tag in the page
and its a subcomponent of a page with many other elements.

But your link is right, the problem seems to be ForeignObject as first item in component.

The point is that when I look your source, in TaskList.vue from your code,
its ForeignObject as first item
<template> <foreignObject class="gantt-elastic__task-list-wrapper" ref="taskListWrapper" :style="root.style('task-list-wrapper')" x="0"

that seems to be exactly the case and that's what is rejected both by my firefox and Chrome latest versions.

The strange thing is more why its working for you and some other peoples
vuejs/vue#4813

so I guess this should probably be updated by you first into TaskList.vue ,
should you?
Because I guess this will happend for many peoples as soon as they don't use this gantt chart component as a sub part of a page and not as unique component in a page..

The warning in my browser specifically target this taskList.vue element.

Hoping you can find it, thanks for the great job anyway.

Regards

from gantt-elastic.

renaudham avatar renaudham commented on July 19, 2024

Sorry, me again.

Maybe that the issue with ForeginObject is ok now, I don't see the same alert anymore, but maybe its a second and different thing

I will open a new ticket for this

from gantt-elastic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.