This commit is contained in:
thororen1234 2024-10-02 14:13:56 -04:00
parent a92bae80e0
commit dedf88bb72
21 changed files with 2 additions and 145 deletions

View file

@ -1,5 +0,0 @@
# WhoReacted
Next to each reaction, display each user's avatar. Each avatar can be clicked and will open the profile.
![](https://github.com/Vendicated/Vencord/assets/57493648/97fec9e8-396f-4f5e-916e-1ec21445113d)

View file

@ -140,7 +140,8 @@ export default definePlugin({
},
_renderUsers({ message, emoji, type }: RootObject) {
const forceUpdate = useForceUpdater();
React.useLayoutEffect(() => { // bc need to prevent autoscrolling
React.useLayoutEffect(() => {
// bc need to prevent autoscrolling
if (Scroll?.scrollCounter > 0) {
Scroll.setAutomaticAnchor(null);
}