Topic: Onboarding plugin not working on certain elements

Miresh priority asked 1 month ago

Expected behavior


The onboarding plugin is expected to work on buttons and a elements as shown in this link under the first Basic Example section. When you click on the button, the onboarding modal popover appears correctly.

Actual behavior

In my implementation however, the modal does not appear. It selects the element correctly (Verified using the step events on the onboarding object) but does not call up the popover modal. When I then click else where on the webpage, it shows an *_"Illegal invocation"** error in the browsers console and prevents me from selecting all together until a webpage refresh is needed. Basically it hangs.

What I have noticed however is that when I scroll up and down (provided there is room to do so), eventually the modal does popup and everything works as expected. There are other places on my site where the symptoms are difficult to replicate but vary from this one. For instance in one section my onboarding popover works on a button but then shifts all the contents below the button below a different tab. I assume this cause is related to the problem above.

Resources (screenshots, code snippets etc.)

To reproduce a simple example of this problem please follow the following steps.

  1. Use the downloaded package how it is from MDB pro zip file.
  2. In the index page, add the neccessary tags to the a element.
  3. Set up the onboarding object via Javascript and trigger it upon page load. So do not include the 'startTrigger' and 'startEvent' attributes in the options object.

Here is my MDB snippet to view the source code and errors as described:

Edit: Note that autofocus and autoscroll does not solve the issue.

Miresh priority answered 2 weeks ago


Has this been fixed as yet? I noticed an update 6.2.0 was released.

mlazaru staff answered 1 month ago

Thank you for reporting this problem. We will take a closer look at it and try to fix it soon.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: Dell laptop
  • Browser: Chrome, edge
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes