Knowledge Articles in Related Search not showing correctly

Staxed
Giga Guru

Wasn't sure where to ask this so hopefully Developers is a good place.

 

After our recent upgrade to Toyko (last week), when creating a new incident and using related search, knowledge articles are appearing for a second when clicked and then minimizing to a small fraction of the popup box.  I'm not sure where to even look to solve this issue so hoping someone has experienced or might know a fix.

 

Some images:

View of the related search results:

Selecting KB when it shows under related searh results in an Incident.jpg

 

When clicking a link, for the first second:

After the knowledge article opens - what happens 1st.jpg

 

After a second or so, turns into this:

(You can actually scroll through that tiny bar at the top and see the entire article, but it's in a tiny sliver of the screen, maybe 5-10 pixels tall).

After the knowledge article opens - what happens 2nd.jpg

1 ACCEPTED SOLUTION

This is the solution that was provided by the HI Ticket that I opened for this issue:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0656057

View solution in original post

15 REPLIES 15

Sebas Di Loreto
Kilo Sage
Kilo Sage

@Staxed 

What instance version and patch level do you have?

On your screens I can see the incident is already created (attached buttons). Does it also happen when the incident has not been saved yet (incident deflection, you won't see the attach button for KB articles).

What browser are you using?

Try right click on any white area and select inspect. Then right click the refresh icon at the top/left and select "empty cache and hard reload".

 

SebastianDL_0-1670276227121.png

 

SebastianDL_1-1670276302349.png

 

 

 


If I helped you with your case, please click the Thumb Icon and mark as Correct.


We are on Tokyo Patch 1B.

 

This is happening on new tickets and existing tickets.

 

Have tried in Chrome, Firefox, and Edge, happens in all of them, and from multiple different people.  This was reported as an incident by a few people and I confirmed on my computer, so it isn't a local cache issue.  I did a cache clear and hard reload and the issue still persists.

Wow. That is very strange. 
Have you checked if it happens on other contextual searches like in problem?

I would guess it is related to the formatting used in the UI page presented. 


If I helped you with your case, please click the Thumb Icon and mark as Correct.


Yeah, something weird is happening.  When previewing an article, the URL redirects to the article page...checking in my PDI this is intended and works fine there.  But for some reason, after a second something refreshes and changes a CSS property to 8px instead of 705px, just can't find what/where/why it's happening.  I can inspect the page and change the element property back to 713px and it shows fine.

 

Seems to be only happening on long articles (assuming something that displays longer than 713px)