Insert Callout and Callout Dropdown blanks-out pdfviewer

WebViewer Version: 8.8.0

In pdftron viewer, once document is selected/loaded and is in view, when selecting Callout:

Insert > select Callout > select Callout dropdown

The pdftron viewer blanks out.

In browser console, we get following error message.
ToolStylePopup.js:123 Uncaught TypeError: Cannot read properties of undefined (reading ‘0’)
at i.value (ToolStylePopup.js:123:30)
at Va (react-dom.production.min.js:187:188)
at Ha (react-dom.production.min.js:186:173)
at Vl (react-dom.production.min.js:269:427)
at Cs (react-dom.production.min.js:250:347)
at Es (react-dom.production.min.js:250:278)
at ws (react-dom.production.min.js:250:138)
at ds (react-dom.production.min.js:243:163)
at react-dom.production.min.js:123:115
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)

When navigating to ToolStylePopup.js:
the error found is in following section:
if (isFreeText) {
properties = {
Font: activeToolStyle.Font,
FontSize: activeToolStyle.FontSize,
TextAlign: activeToolStyle.TextAlign,
TextVerticalAlign: activeToolStyle.TextVerticalAlign,
bold: activeToolStyle[‘RichTextStyle’][0][‘font-weight’] === ‘bold’,
italic: activeToolStyle[‘RichTextStyle’][0][‘font-style’] === ‘italic’,
underline: activeToolStyle[‘RichTextStyle’][0][‘text-decoration’]?.includes(‘underline’) || activeToolStyle[‘text-decoration’]?.includes(‘word’),
strikeout: activeToolStyle[‘RichTextStyle’][0][‘text-decoration’]?.includes(‘line-through’),

activeToolStyle[‘RichTextStyle’][0] is undefined.

Tested and replicated on edge, chrome and firefox.

Hi sameer.maharjan,

Based on your description I was able to reproduce the issue on WV version 8.8.0. This is a known issue and it has been fixed in WebViewer version 8.10.0 as you can see in this changelog: V8-10-0 | Apryse Documentation

I would recommend you to update the WebViewer version to, at least, 8.12.2. (latest version 8 with security patch).