2018 Sidenav skin refresh issue

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
jaclark
Jr. Propeller Head
Posts: 9
Joined: Mon Jun 12, 2017 3:24 am

2018 Sidenav skin refresh issue

Post by jaclark »

I've encountered an intermittent page refresh issue in the new sidenav skin.

The error reported in the browser console (Chrome, Version 68.0.3440.106 (Official Build) (64-bit)) is ...

require.min.js:13 Uncaught Error: Mismatched anonymous define() module: function(){return Z}
http://requirejs.org/docs/errors.html#mismatch
at C (require.min.js:13)
at L (require.min.js:41)
at Object.g [as require] (require.min.js:104)
at requirejs (require.min.js:126)
at MadCap.WebHelp.HelpSystem.LoadBreakpoints (MadCapAll.js:57)
at MadCap.WebHelp.HelpSystem.<anonymous> (MadCapAll.js:57)
at XMLHttpRequest.OnreadystatechangeRemote (MadCapAll.js:29)

When the error is reported the sidenav menu items don't display.
NavNotOK.png
I have to refresh to page (often more than once) to restore them.
NavOK.png
I can't reproduce this behaviour when I access the local build of the help but I get the error (intermittently) accessing the same help build hosted on our doc server.

Any clues?

Thanks

Jill
You do not have the required permissions to view the files attached to this post.
jaclark
Jr. Propeller Head
Posts: 9
Joined: Mon Jun 12, 2017 3:24 am

Re: 2018 Sidenav skin refresh issue

Post by jaclark »

... and the solution was...

Remove the following script link in the topic masterpage
<script type="text/javsacript" src="https://ajax.googleapis.com/ajax/libs/w ... bfont.js"/>

This script was included as a possible solution to icon font flicker but was generating some errors re. missing fonts in this library.
Once the script removed, the sidenav menu refresh problem could not be reproduced.
amitkapoor
Propeller Head
Posts: 33
Joined: Mon Sep 16, 2019 5:23 am

Re: 2018 Sidenav skin refresh issue

Post by amitkapoor »

I am facing similar issue with SideNav skin rendered in Electron but unable to reproduce it. It comes intermittently. Wonder what is causing it in my case. For now, I have removed an extra script from my Master Page. Let's see.

What else can cause this?

-Amit
StormSurge
Jr. Propeller Head
Posts: 5
Joined: Thu Apr 02, 2020 6:24 am

Re: 2018 Sidenav skin refresh issue

Post by StormSurge »

I am also having an issue with a disappearing side nav using a Flare template Side Nav template. When the side nav disappears, search also quits working. I am getting the
require.min.js:13 Uncaught Error: Mismatched anonymous define() module, but removing the sole script I have in the master page did not fix the issue.

Any other ideas?

Thanks,

BTW - there are no issues when I view the html locally.
Post Reply