I'm currently working on a chat application using Vue.js and I'm facing an issue with the scroll bar. Despite using overflow: auto; and customizing the scroll bar, it doesn't automatically scroll to the bottom whenever a new message is sent. Any suggestions or solutions in Vue.js?
<v-card
fluid
style="overflow: auto; ">
</v-card>
Here's a snippet of the CSS code I've used:
::-webkit-scrollbar {
width: 10px;
height: 12px;
}
::-webkit-scrollbar-track {
background: #f5f5f5;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #ccc;
}
::-webkit-scrollbar-thumb:hover {
background: #999;
}
Any insights on how to resolve this issue?