Skip to content

Commit

Permalink
DYN-5268-SplashScreen-NotLoadingFix (#13)
Browse files Browse the repository at this point in the history
* DYN-5268-SplashScreen-NotLoadingFix

When trying to load the splash screen in Dynamo was showing a blank screen, the problem was that due that the javascript code is inserted on runtime when loading the html page in WebView2 the javascript code was not finding the element "root", once I moved the root <div> above the <script> tag started to work correctly.

* DYN-5268-SplashScreen-NotLoadingFix

Updating the package version
  • Loading branch information
RobertGlobant20 authored Oct 20, 2022
1 parent 31c383d commit 9fca098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dynamods/splash-screen",
"version": "0.2.4",
"version": "0.2.5",
"description": "Splash Screen maintained by Dynamo Team@Autodesk",
"author": "Autodesk Inc.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<script>
document.querySelector('body').style.overflow = 'hidden'
</script>
<script>mainJs</script>
<div id="root"></div>
<script>mainJs</script>
</body>

</html>

0 comments on commit 9fca098

Please sign in to comment.