Giter Site home page Giter Site logo

Problem with GoJS and bootstrap about gojs HOT 5 CLOSED

iivanov2 avatar iivanov2 commented on May 1, 2024
Problem with GoJS and bootstrap

from gojs.

Comments (5)

simonsarris avatar simonsarris commented on May 1, 2024

Is this still an issue? Have you tried a CSS reset of divs and the canvas inside of the #myDiagram ID'd element?

from gojs.

iivanov2 avatar iivanov2 commented on May 1, 2024

Hi,there is no such thing as CSS reset you can't isolate an div or other tag as you think. I sloved my problem as I embed the diagram in an iframe, in this  way it has separate CSS rules, without bootstrap.I see that you released a new version 1.4.22 (I am still using 1.4.19) but it has still this bug, I send you  new images here:http://s14.postimg.org/t9b2c62u9/Capture1.pnghttp://s1.postimg.org/nl2ocoqlr/Capture2.pnghttp://s29.postimg.org/3ro5ppahj/Capture3.png     I repeat, this problem occurs most visible in IE9 when I am using bootsrap, and there is similar problem with other browsers (Chrome, Firefox).
From: Simon Sarris [email protected]
To: NorthwoodsSoftware/GoJS [email protected]
Cc: iivanov2 [email protected]
Sent: Wednesday, February 25, 2015 9:06 PM
Subject: Re: [GoJS] Problem with GoJS and bootstrap (#6)

Is this still an issue? Have you tried a CSS reset of divs and the canvas inside of the #myDiagram ID'd element?—
Reply to this email directly or view it on GitHub.

from gojs.

simonsarris avatar simonsarris commented on May 1, 2024

I mean you could find the rules that are modifying the Diagram div or its canvas and reset them to defaults, e.g.:

#myDiagram canvas {
/* modify all canvases inside of myDiagram ID, reversing whatever Bootstrap rule is breaking GoJS */
}

from gojs.

iivanov2 avatar iivanov2 commented on May 1, 2024

I understand now but I didn't try this it was easier for me to embed it in iframe.
From: Simon Sarris [email protected]
To: NorthwoodsSoftware/GoJS [email protected]
Cc: iivanov2 [email protected]
Sent: Wednesday, February 25, 2015 10:19 PM
Subject: Re: [GoJS] Problem with GoJS and bootstrap (#6)

I mean you could find the rules that are modifying the Diagram div or its canvas and reset them to defaults, e.g.:#myDiagram canvas {
/* modify all canvases inside of myDiagram ID, reversing whatever Bootstrap rule is breaking GoJS */
}—
Reply to this email directly or view it on GitHub.

from gojs.

simonsarris avatar simonsarris commented on May 1, 2024

Okay, closing the issue then. Thanks for reporting.

from gojs.

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.