question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken rendering of blocks that were serialized as collapsed

See original GitHub issue

This problem occurs when a collapsed block gets expanded, but only if that blocks was loaded in collapsed state. The image shows what happens. Fields are rendered too small for their content.

expandedBlockdef

To reproduce, load this block in the playground and expand it:

<xml xmlns="https://developers.google.com/blockly/xml">
  <block type="text_print" id="t+mk5:Sn8$Emu5`Zy9$0" collapsed="true" x="113" y="88">
    <value name="TEXT">
      <shadow type="text" id="lYNga3UcD+({1OyXedEJ">
        <field name="TEXT">abc</field>
      </shadow>
      <block type="text" id="Pw~h9j!XKX7aNLIB{PoO">
        <field name="TEXT">abc</field>
      </block>
    </value>
  </block>
</xml>

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
BamBam191commented, Dec 29, 2019

Same holds for Brave browser. It is even worse, all blocks are too small (w/o collapse expand) Capture

0reactions
samelhusseinicommented, Nov 19, 2019

Note: this no longer repros on develop as we’ve changed the way we calculate size of text to a way that isn’t affected by visibility, but I’m still intrigued as to why this only repro’d on Firefox.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Patch Notes for Odin Inspector and Serializer v1.0.6.8
Fixed case where Dictionary value/key rendering for the add key area would not render properly if key or value were of a type...
Read more >
4 Structures And Processing
The final pass is the render pass, which generates the resulting document. ... A blockquote is an instance of blockquote; it has list...
Read more >
3.2 Notebook | R Markdown: The Definitive Guide - Bookdown
The first official book authored by the core R Markdown developers that provides a comprehensive and accurate reference to the R Markdown ecosystem....
Read more >
6.3 Structures And Processing - Download Racket
A compound paragraph is an instance of compound-paragraph; like blockquote, it has list of blocks, but the blocks are typeset as a single...
Read more >
Unity 2022.2.0
Shader System: GameObjects doesn't get rendered when using "Unlit. ... Editor: Added the ability to block shortcuts from triggering during ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found