Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

SimpleChat doesn't display properly for spark on mobile

Avatar

Level 1

I'm using the latest LCCS Spark Beta version. The SimpleChat displays RAW html instead of the styled text, plus it doesn't scroll properly. This problem was posted a few months back but is yet to be resolved. Looking at the LCCS sdk source code, the problem seems obvious: SimpleChat uses the class RichTextArea which the lccs team has created. That class checks to see if "textFlow" exists. If it doesn't as in the case of mobile it just assigns the raw html to the text field which is obviously unacceptable since the user will end up seeing raw html instead of styled text. Below is the problematic code in the lccs RichTextArea class. Is LCCS team supporting mobile devices?

               if (textFlow)

                    textFlow = TextConverter.importToFlow(str, TextConverter.TEXT_FIELD_HTML_FORMAT);

                else  {

                    //StyleableTextField(textDisplay).htmlText = str;

                    textDisplay.text = str;

                }

0 Replies