Unable to click copy, upvote, downvote buttons on previous screen
When the results are more than one screen, it is not possible to click the copy, upvote, downvote buttons of the previous screen. When you scroll the screen to the previous screen and try to click the copy, upvote or downvote button, the page immediately scrolls to the bottom
Hi,
In the use-scroll-to-bottom.ts file, remove attributes and characterData from the observer.
`
observer.observe(container, {
childList: true,
subtree: true,
// attributes: true,
// characterData: true,
});
`
Hi,
In the use-scroll-to-bottom.ts file, remove attributes and characterData from the observer.
`
observer.observe(container, { childList: true, subtree: true, // attributes: true, // characterData: true, });`
@john-dw Thanks a lot. I tried your suggestion, still got the problem.
added a fix here https://github.com/vercel/ai-chatbot/pull/791