diff --git a/Riot/Modules/Room/EmojiPicker/EmojiPickerViewController.swift b/Riot/Modules/Room/EmojiPicker/EmojiPickerViewController.swift index 2691714ee..a766bbbe8 100644 --- a/Riot/Modules/Room/EmojiPicker/EmojiPickerViewController.swift +++ b/Riot/Modules/Room/EmojiPicker/EmojiPickerViewController.swift @@ -91,9 +91,10 @@ final class EmojiPickerViewController: UIViewController { super.viewDidAppear(animated) // Enable to hide search bar on scrolling after first time view appear - if #available(iOS 11.0, *) { - self.navigationItem.hidesSearchBarWhenScrolling = true - } + // Commenting out below code for now. It broke the navigation bar background. For details: https://stackoverflow.com/questions/59716249/ios13-uitableview-uisearchcontroller-with-custom-hidessearchbarwhenscrolling#:~:text=On%20iOS%2013%2C%20if%20you,and%20it%20won%27t%20disappear +// if #available(iOS 11.0, *) { +// self.navigationItem.hidesSearchBarWhenScrolling = true +// } } override func viewDidDisappear(_ animated: Bool) {