You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[true ] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[true ] My issue is reproducible in the demo project.
Describe the bug
Presented menu table view's tab bar over laps with the presenting view controller's tab bar during presentation/dismissal transitions.
To Reproduce
Steps to reproduce the behavior:
import SideMenu
var menu: SideMenuNavigationController? - (global variable)
setupSideMenu() - (called in view did load)
private func setupSideMenu() {
menu = SideMenuNavigationController(rootViewController: PopyaPlusViewController())
SideMenuManager.default.leftMenuNavigationController = menu
}
(Method to present menu vc) @IBAction func popyaPlusBtnTapped(_ sender: UIButton) {
guard let menu = menu else { return }
present(menu, animated: true, completion: nil)
}
(Main methods in menu table vc)
override func viewDidLoad() {
super.viewDidLoad()
tableView.register(UINib(nibName: "SideMenuTableViewCell", bundle: nil), forCellReuseIdentifier: "Cell")
}
Expected behavior
I expect the tab bars overlapping behaviour not to happen as it seem to prevent taps on the presenting vc tab bar items not to be recognised (sometimes).
Screenshots
Additional context
I am using Xcode 13.1, - iPhone XR
The text was updated successfully, but these errors were encountered:
I noticed that my issue was only occurring if I set my tab bar to be isTranslucent = false. This issue happens with any other VC that has its tab bar isTranslucent = true but presenting a VC that has its tab bar isTranslucent = false. Any reason why this would happen? And solution?
I have read the guidelines for contributing and I understand
Describe the bug
Presented menu table view's tab bar over laps with the presenting view controller's tab bar during presentation/dismissal transitions.
To Reproduce
Steps to reproduce the behavior:
import SideMenu
var menu: SideMenuNavigationController? - (global variable)
setupSideMenu() - (called in view did load)
private func setupSideMenu() {
menu = SideMenuNavigationController(rootViewController: PopyaPlusViewController())
SideMenuManager.default.leftMenuNavigationController = menu
}
(Method to present menu vc)
@IBAction func popyaPlusBtnTapped(_ sender: UIButton) {
guard let menu = menu else { return }
present(menu, animated: true, completion: nil)
}
(Main methods in menu table vc)
override func viewDidLoad() {
super.viewDidLoad()
tableView.register(UINib(nibName: "SideMenuTableViewCell", bundle: nil), forCellReuseIdentifier: "Cell")
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationController?.navigationBar.isTranslucent = true
setupTableView()
}
func setupTableView() {
navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage(systemName: "info.circle"), style: .plain, target: self, action: #selector(infoBtnTapped))
tableView.backgroundColor = .white
tableView.showsVerticalScrollIndicator = false
tableView.allowsSelection = false
self.tabBarController?.tabBar.isTranslucent = true
}
Expected behavior
I expect the tab bars overlapping behaviour not to happen as it seem to prevent taps on the presenting vc tab bar items not to be recognised (sometimes).
Screenshots
Additional context
I am using Xcode 13.1, - iPhone XR
The text was updated successfully, but these errors were encountered: