We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the master build for web chat at the moment and I have noticed that clicking the ScrollToEndButton causes the parent webpage to refresh.
However, I cannot reproduce on 4.2.0, so I think its just affecting the master build.
I have a workaround for now by doing the following:
var parentContainer = document.getElementById('{webchatid}'); parentContainer.addEventListener('click', (event) => { var isScrollToEndButton = event.target.nodeName === 'BUTTON' && event.target.className === '{scrolltoendclass}'; if (isScrollToEndButton) { event.preventDefault(); } });
However, I don't think this is a viable workaround going forward.
@compulim I see that the scrollToEndButton uses your react-scroll-to-bottom library for this feature. What do you think?
The text was updated successfully, but these errors were encountered:
@Jhanbury thanks for filing this. :) It looks like the scrollToEndButton was missing a type="button" . *Edit: Fix is in PR #1743
Sorry, something went wrong.
corinagum
No branches or pull requests
Problem
I'm using the master build for web chat at the moment and I have noticed that clicking the ScrollToEndButton causes the parent webpage to refresh.
However, I cannot reproduce on 4.2.0, so I think its just affecting the master build.
Temporary Workaround
I have a workaround for now by doing the following:
However, I don't think this is a viable workaround going forward.
@compulim I see that the scrollToEndButton uses your react-scroll-to-bottom library for this feature.
What do you think?
The text was updated successfully, but these errors were encountered: