HTML field not rendering properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
18m ago
When incident is close and we open the record again then field show as expected as per in 1st pic but we click on any other tabs provided on form like incident details etc provided in 2nd pic then again open alert summary tab then field having some space as per 3rd pic we need field behaviour as per 1st pic always when we closed the incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a minute ago
Hello @sayaliwakch ,
check how you are making the html fields read after state closed,
If you are using a UI Policy or Client Script, ServiceNow loads the full HTML editor in the background and then disables it, which causes the height calculation bug on tab switch.
I would recommend create a Record-level Write ACL (or Field-level Write ACL) that evaluates to false when the State is Closed.
When an ACL prevents write access on form load, ServiceNow completely skips rendering the TinyMCE editor iframe. It just renders the HTML content inside a standard, flat <div>. This flat div will dynamically resize perfectly, eliminating the tab-switching bug entirely.
If my response helped mark as helpful and accept the solution.
