Skip to content

Error using AutoScrollPlugin from @twilio-paste/lexical-library #3038

Answered by nkrantz
noor-ul-amin0 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @noorarman! You're most likely seeing that error because you have the AutoScrollPlugin with the Chat Log rather than the Chat Composer. It's meant to be used only as a child of the Composer, so that the text the user is typing is always visible. In your case, the plugin is looking for the ChatComposer context, but because it lives with the Log instead of the Composer, it can't find that context. Give that a try and let us know how it goes!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nkrantz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
External This Discussion was posted by a non-Twilio Paste consumer
2 participants