mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
New layout: Fixed low priority rooms titles obscured by bottom bar when side scrolling
This commit is contained in:
parent
a5804a3025
commit
8b002fde0c
2 changed files with 9 additions and 0 deletions
|
@ -351,12 +351,20 @@ class AllChatsViewController: HomeViewController {
|
|||
}
|
||||
|
||||
override func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
|
||||
guard scrollView == recentsTableView else {
|
||||
return
|
||||
}
|
||||
|
||||
initialScrollPosition = scrollPosition(of: scrollView)
|
||||
}
|
||||
|
||||
override func scrollViewDidScroll(_ scrollView: UIScrollView) {
|
||||
super.scrollViewDidScroll(scrollView)
|
||||
|
||||
guard scrollView == recentsTableView else {
|
||||
return
|
||||
}
|
||||
|
||||
let scrollPosition = scrollPosition(of: scrollView)
|
||||
|
||||
if !self.recentsTableView.isDragging && scrollPosition == 0 && self.navigationController?.isToolbarHidden == true {
|
||||
|
|
1
changelog.d/6707.bugfix
Normal file
1
changelog.d/6707.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
New layout: Fixed Low priority rooms titles obscured by bottom bar when side scrolling
|
Loading…
Reference in a new issue