mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
perf(settings): Make scrolling smooth when a large number of groups are rendered
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
cae40a3521
commit
4d0f2da3e0
1 changed files with 8 additions and 2 deletions
|
|
@ -3,7 +3,8 @@
|
|||
- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-->
|
||||
<template>
|
||||
<NcAppNavigation :aria-label="t('settings', 'Account management')">
|
||||
<NcAppNavigation class="account-management__navigation"
|
||||
:aria-label="t('settings', 'Account management')">
|
||||
<NcAppNavigationNew button-id="new-user-button"
|
||||
:text="t('settings','New account')"
|
||||
@click="showNewUserMenu"
|
||||
|
|
@ -149,7 +150,12 @@ function showNewUserMenu() {
|
|||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.account-management{
|
||||
.account-management {
|
||||
&__navigation {
|
||||
:deep(.app-navigation__body) {
|
||||
will-change: scroll-position;
|
||||
}
|
||||
}
|
||||
&__system-list {
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
|
|
|
|||
Loading…
Reference in a new issue