Hovering message actions causes page scroll
Steps to reproduce:
- Open a longer chat such that the page has a scrollbar
- Scroll to the top
- Hover over any message action
Expected Results: The page is not scrolled automatically Actual: The page jumps which makes it impossible to click message actions further up the chat.
Notes: I'm pretty sure the issue stems from the tooltip being mounted when hovering over a button. I have not yet found a fix but will post any updates here.
https://github.com/user-attachments/assets/7671cda0-0680-438f-b385-effcfca076c6
There's a fix referenced in https://github.com/vercel/ai-chatbot/pull/638 that works for me, but the PR is still open.
Thanks @vwstang. The fix seems to work 👍
added a fix here https://github.com/vercel/ai-chatbot/pull/791