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.

[beta] example screen content not visible until code is run

See original GitHub issue

Challenge adjusting-the-padding-of-an-element has an issue. User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

    
    
<style>
.injected-text {
  margin-bottom: -25px;
  text-align: center;
}

.box {
  border-style: solid;
  border-color: black;
  border-width: 5px;
  text-align: center;
}

.yellow-box {
  background-color: yellow;
  padding: 10px;
}

.red-box {
  background-color: red;
  padding: 20px;
}

.green-box {
  background-color: green;
  padding: 10px;
}
</style>
<h5 class="injected-text">margin</h5>

<div class="box yellow-box">
<h5 class="box red-box">padding</h5>
<h5 class="box green-box">padding</h5>
</div>

The “phone screen” where the code is shown doesn’t update until after the run test button is pressed. Has been this way since I began the CSS section of the beta. It makes it awkward when working on the cat photo app, but when it gets to showing the margins, it gives me the picture of the cat photo app instead of the yellow, red, and green boxes.

bug

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Greenheartcommented, Jan 26, 2017

@no-stack-dub-sack Nice detective work!

I’ll see if I can find the code that could be used to fix this.

Edit: I’m looking at a solution for this locally. Will hopefully have a PR ready in the near future.

0reactions
QuincyLarsoncommented, Jun 17, 2017

@no-stack-dub-sack Yes - once we ship @berkeleytrue’s layout, we can see whether these are still relevant and then tackle them. I’ll leave this issue open for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove default Splash Screen from Android 12 (Example)
So we can resolve this issue by suspending the app to draw an existing splash screen and show the system splash screen until...
Read more >
Splash screens - Android Developers
(The splash screen is never shown during a hot start.) The system shows the splash screen using themes and any animations that you've...
Read more >
barTintColor not working in iOS 15 | Apple Developer Forums
Hi,. When I run the following code in application(_ :didFinishLaunchingWithOptions) in iOS 15, the bar color turns transparent (thus, showing the black ...
Read more >
Google Publisher Console messages
This page describes the various messages you can encounter when viewing the Google Publisher Console Page Request tab.
Read more >
How to get Selenium to wait for a page to load - BrowserStack
Wondering how to wait for a web page to load in Selenium testing? Read tutorial to understand 3 methods to execute the same....
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