Topic: sandbox
i have a question about the snippets mdb provides (sandbox) - i open a snippet and see a working example; however, as soon as i change something (for example just a letter in the html) the example (output) disappears, resulting into just a white block;
why is this, i thought the purpose of the snippets is to be able to change things and see what that does in real time?
-- below the answer of MDB AI however this is not the case, for example i just change a letter in a html text and even that leads to a white box --
The issue you're experiencing, where changing a letter in the HTML causes the output to disappear, could be due to a few reasons:
HTML Structure: Ensure that the modified HTML is still valid. An unclosed tag or incorrect syntax can cause rendering issues.
Sandbox Restrictions: Some online sandboxes may have restrictions that prevent real-time updates if the code is not valid. This could lead to a white block if the code cannot be executed properly.
JavaScript Errors: If your changes inadvertently introduce a JavaScript error, it may prevent the rendering of the output. Check the console for any errors.
To troubleshoot, verify that your changed HTML is still valid and correctly structured. If the issue persists, consider reverting to the original code and making smaller, incremental changes to identify the specific change causing the issue.
Kamila Pieńkowska
staff answered a week ago
I am sorry about the problem with snippets. It is caused by recent changes in Chrome that blocks refresh of the page content. Please try using Firefox next time. We will try to fix it soon.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 9.0.0
- Device: pc
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No