Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

To determine if this issue affects your system, you can open the browser JavaScript console and look for the following error message:

Uncaught TypeError: Cannot read property 'offsetWidth' of null

If you see this error, you can easily work around it by adding a delay attribute to the tutorial element step.

...

If the 'Next' button is not enabled and the error described above is shown, simply add delayBeforeNextItem attribute to the element, specifying a delay in milliseconds. For example:

Virtualdatacenter's element
Code Block
languagehtml/xml
        {
            "element": "#virtualdatacenters\\.tab",
            "intro": "In the <strong>Virtual datacenter</strong> section, you will manage all your virtual infrastructure. Let's begin by clicking this icon<br><br><span style='color: orange'><strong>Action needed:</strong></span><br><i>Click the <strong>'Virtual datacenters'</strong> icon to continue</i>",
            "position": "bottom",
            "actionType": "onclick",
            "blockPrevious": true,
			"delayBeforeNextItem": 1000
        },

This will be enough to resolve the issue.

It is up to you specify a suitable delay value depending on the screen and tutorial step, but it would be better to set higher delays than lower ones in order to avoid problems.