We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use this library. TableView in popover doesn't scroll.
let minPopoverHeight = CGFloat(264) lazy var popoverTableView: UITableView = { let tableView = UITableView() tableView.delegate = self tableView.dataSource = self tableView.tableFooterView = UIView() tableView.tag = SearchableTableViewTag.search.rawValue return tableView }() override func viewWillLayoutSubviews() { popoverTableView.frame = CGRect(x: 0, y: tableContainer.bounds.origin.y, width: view.bounds.size.width, height: minPopoverHeight) } func searchBarShouldBeginEditing(_ searchBar: UISearchBar) -> Bool { let popoverOptions = [ .type(.down), .animationIn(0.3), .showBlackOverlay(false), .arrowSize(.zero), .color(.white), .dismissOnBlackOverlayTap(true), ] as [PopoverOption] searchPopover = Popover(options: popoverOptions, showHandler: nil, dismissHandler: { self.searchController.isActive = false }) searchPopover?.show(popoverTableView, fromView: searchBar) return true }
That's way I use Popover.
The text was updated successfully, but these errors were encountered:
Hi @fcsd You can try setting tableView.isScrollEnabled = true programatically. It worked for me. Thanks.
Sorry, something went wrong.
No branches or pull requests
I use this library. TableView in popover doesn't scroll.
That's way I use Popover.
The text was updated successfully, but these errors were encountered: