Long code blocks cut off until focus in <Playground>
See original GitHub issueBug Report
When you put a component inside of a <Playground />
that extends past 11~ lines it cuts the bottom of the text off, but still presents a scrollbar. However, scrolling scrolls up the non-visible code instead of scrolling the code into view.
To Reproduce
- Include a
<Playground />
element in an mdx file. The component(s) need to be longer than 11 lines (in my case) for it to be cut off. - View the page in the browser and the code should be cut off.
- Click inside of the
Playground
and the code should then appear.
Expected behavior
Code is visible at all times without requiring the container to gain focus.
Environment
- OS: Windows 10
- Node/npm version: Node 10.11.0/npm 6.4.1
Additional context/Screenshots Below is the bug in action. I see the same result in both Chrome and Firefox.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Public Playground Safety Handbook
The recommendations in the Handbook are focused on playground-related injuries and mechanical mechanisms of injury; falls from playground equipment have ...
Read more >Keyboard Shortcuts - Code::Blocks
Cut selected text, Ctrl + X ... This is a list of shortcuts provided by the Code::Blocks' editor component. ... Focus editor, CTRL...
Read more >Xcode Swift code folding/collapse - ios - Stack Overflow
A new style for folded code in the editor that allows you to edit lines with folded code; Support for folding any block...
Read more >Everyone Can Code - Swift Coding Club - Apple
Learn about while loops and how to use them to loop a block of code until a condition is true. Learn: Watch the...
Read more >Creating and highlighting code blocks - GitHub Docs
Share samples of code with fenced code blocks and enabling syntax highlighting. ... You can create fenced code blocks by placing triple backticks...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Launched on v0.13.0 ✅
I am having the same problem and on the same line 11. I have not done anything other than what was shown in docz documentation and I am using the latest version of docz. online demo: https://httpiago.github.io/ios-theme-toolkit/#/components/Button