]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts
Add restore scroll position on user-dropdown anchors links and scroll to top on activ...
authorKim <1877318+kimsible@users.noreply.github.com>
Mon, 17 Aug 2020 08:13:31 +0000 (10:13 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Aug 2020 08:13:31 +0000 (10:13 +0200)
commit30d55e75cae1adec3fc43c84691975bf8b97db34
tree74df7fabda72d88b60d6d8d20ba9cd95d1cf4858
parent28fbb88f93859a7f6bbf124cb8df1e1a37fd1285
Add restore scroll position on user-dropdown anchors links and scroll to top on active sub-menu links (#3066)

* Add restore scroll position on router same url

* Remove settings top anchor

* Add scrollToTop on active links fixed sub-menu

* Add restore scroll position on notification avatar links

* Toggle menu and close pophover when click on active dropdown menu-left link

* Add onSameUrlRestoreScrollPosition on user dropdown channels link

* Same behavior scrollTop and scroll to anchor everywhere

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
client/src/app/+my-account/my-account-settings/my-account-settings.component.html
client/src/app/app.component.ts
client/src/app/menu/avatar-notification.component.html
client/src/app/menu/avatar-notification.component.ts
client/src/app/menu/menu.component.html
client/src/app/menu/menu.component.ts
client/src/app/shared/shared-main/misc/top-menu-dropdown.component.html
client/src/app/shared/shared-main/misc/top-menu-dropdown.component.ts