Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

Diagram gets squashed when containing element is hidden #44

Open
mcrampon opened this issue Nov 19, 2015 · 1 comment
Open

Diagram gets squashed when containing element is hidden #44

mcrampon opened this issue Nov 19, 2015 · 1 comment

Comments

@mcrampon
Copy link

There seems to be an issue with this type of code :

    <div class="diagram_panel">
      <script type='text/jumly+sequence'>
        @found "You", ->
          @message "get", "JUMLY"
      </script>
    </div>
.diagram_panel {
   display: none;
}

When I do a JUMLY.scan() with this code, I obtain this result :

capture d ecran 2015-11-19 a 10 06 29

It works well when the diagram_panel is display: block;, but this is not my intended behavior.

@mexicorea
Copy link

I remember I've tried many things for the issue. In the end, I kind of indirectly made what I wanted.

.diagram_panel {
  opacity:0;
}

and then changing 'opacity' value to 0 or 1 instead of controlling 'display' attribute.
In my case, main purpose of doing this was just to hide the division simply, so it was ok.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants