new PC init commit

This commit is contained in:
morethanwords 2020-11-09 05:23:01 +03:00
parent 196891c7f0
commit a86b0a213e
2 changed files with 7 additions and 1 deletions

View File

@ -204,6 +204,11 @@ export default class AppIncludedChatsTab implements SliderTab {
(categories.querySelector(`[data-peerID="${flag}"]`) as HTMLElement).click();
}
}
// ! потому что onOpen срабатывает раньше, чем блок отрисовывается, и высоты нет
setTimeout(() => {
this.selector.selectedScrollable.scrollTo(this.selector.selectedScrollable.scrollHeight, 'top', false, true);
}, 0);
}
onSelectChange = (length: number) => {

View File

@ -559,6 +559,7 @@
avatar-element {
height: 32px;
width: 32px;
font-size: .875rem;
}
.user-caption {
@ -574,7 +575,7 @@
width: 100%;
.checkbox {
margin-top: -9px !important;;
margin-top: -9px !important;
right: 0;
position: absolute;