Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with GoJS and bootstrap #6

Closed
iivanov2 opened this issue Jan 19, 2015 · 5 comments
Closed

Problem with GoJS and bootstrap #6

iivanov2 opened this issue Jan 19, 2015 · 5 comments
Assignees
Labels
question; belongs in forum This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11

Comments

@iivanov2
Copy link

There is a problem with GoJS library, if I use twitter's bootstrap in the same time.
Scrollbars of the stage are dislocated if diagram is bigger than the div container.
Some screen caputres of Internet Explorer 9 (similar problem in Chrome too).

With bootstrap (http://getbootstrap.com/):
capture-with-bootstrap

Without bootstrap:
capture-without-bootstrap

@simonsarris
Copy link
Collaborator

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

@iivanov2
Copy link
Author

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 notifications@github.com
To: NorthwoodsSoftware/GoJS GoJS@noreply.github.com
Cc: iivanov2 iivanov2@yahoo.com
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.

@simonsarris
Copy link
Collaborator

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 */
}

@simonsarris simonsarris self-assigned this Feb 25, 2015
@iivanov2
Copy link
Author

I understand now but I didn't try this it was easier for me to embed it in iframe.
From: Simon Sarris notifications@github.com
To: NorthwoodsSoftware/GoJS GoJS@noreply.github.com
Cc: iivanov2 iivanov2@yahoo.com
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.

@simonsarris
Copy link
Collaborator

Okay, closing the issue then. Thanks for reporting.

@WalterNorthwoods WalterNorthwoods added the question; belongs in forum This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11 label Oct 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question; belongs in forum This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11
Projects
None yet
Development

No branches or pull requests

3 participants