mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
Merge branch 'development' into feat/open-external-shell
This commit is contained in:
commit
21ca879c92
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ const NavTabButton = ({ className, logo, icon, label, href, selected, onClick })
|
||||||
|
|
||||||
scrollableElements.forEach((element) => {
|
scrollableElements.forEach((element) => {
|
||||||
if (element.scrollTop > 0) {
|
if (element.scrollTop > 0) {
|
||||||
element.scrollTop = 0;
|
element.scrollTo({ top: 0, behavior: 'smooth' });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue