Beta: preview panel covered by flash message
See original GitHub issueWhen going through the challenges, the JavaScript is disabled. Execute code to enable
flash message constantly shows up in the preview panel covering the preview itself. There’s no way to close it - it doesn’t fade out. It’s really annoying, and it’s pretty much on every challenge that shows the preview.
Potential solutions:
Add the ability to close the message. Fade it out after a second or so. Push the preview content down.
It looks like something related to this was recently worked on #16804
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (17 by maintainers)
Top Results From Across the Web
Announcing beta and preview features
The flash message should communicate the impact of the the beta or preview state for the service and provide links to learn more...
Read more >[Beta] Preview is improper during JS warning #16804 - GitHub
On typing/editing, a JS warning comes up in the preview pane which distorts the ... Beta: preview panel covered by flash message #16867....
Read more >Flash support in Instant Previews | Google Search Central Blog
With Instant Previews, users can see a snapshot of a search result before clicking on it. We've made a number of improvements to...
Read more >Default :: Flash :: Lookbook
This is a flash message! ... render(Primer::Beta::Flash.new(full: full, spacious: spacious, dismissible: dismissible, icon: icon, scheme: scheme)) { content }.
Read more >Announcing Windows 11 Insider Preview Build 25247
weren't flashing with new messages or opening a preview on hover in the system tray. The new show hidden icons flyout's animation should...
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
I also vote to remove the message, and code locking in almost all cases except the one discussed on https://github.com/freeCodeCamp/freeCodeCamp/issues/16565
That specific message is to indicate to the user that no js is running in the preview window. This is prevent uncompleted js code from crashing the preview window while the user is writing out their code (fun fact, writing “function” to an iframe script tag used to crash the client). When I originally wrote that flash message it was a simple span tag with text that rendered in the preview window but above (top not z) the user content.
This seems to be a bug introduced downstream when styling was applied to the message. Changing the styling is fine but we shouldn’t be removing the message. This is not licked to code locking. This happens on every keystroke pause and is disabled on code execute