{"action":"closed","issue":{"url":"https://api.github.com/repos/werner77/WEPopover/issues/16","labels_url":"https://api.github.com/repos/werner77/WEPopover/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/werner77/WEPopover/issues/16/comments","events_url":"https://api.github.com/repos/werner77/WEPopover/issues/16/events","html_url":"https://github.com/werner77/WEPopover/issues/16","id":1229532,"number":16,"title":"Popover from Custom Toolbar issues...","user":{"login":"alexcoplan","id":910266,"avatar_url":"https://avatars.githubusercontent.com/u/910266?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcoplan","html_url":"https://github.com/alexcoplan","followers_url":"https://api.github.com/users/alexcoplan/followers","following_url":"https://api.github.com/users/alexcoplan/following{/other_user}","gists_url":"https://api.github.com/users/alexcoplan/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcoplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcoplan/subscriptions","organizations_url":"https://api.github.com/users/alexcoplan/orgs","repos_url":"https://api.github.com/users/alexcoplan/repos","events_url":"https://api.github.com/users/alexcoplan/events{/privacy}","received_events_url":"https://api.github.com/users/alexcoplan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2011-07-15T10:30:36Z","updated_at":"2015-11-20T07:47:37Z","closed_at":"2015-11-20T07:47:37Z","body":"Hi,\r\n\r\nDisplaying popover's from navbar works perfectly... class is great!\r\nHowever when displaying from a custom toolbar it all goes a bit funny.\r\n\r\nI have a toolbar at the bottom of the screen with a bar button on the left-hand side. When I call presentPopoverFromBarButtonItem:, I input sender, however it decides to put the arrow in the middle of the toolbar, and then fades out my toolbar, and from then on I can't interact with it, even when it's closed.\r\n\r\nHere is an image which demonstrates my problem:\r\n![Before and after popover](https://img.skitch.com/20110715-gukyiu883wsg11at6prpsr73c4.jpg)\r\n\r\nAnd here is my code for the display method:\r\n\r\n```\r\n- (IBAction)layersButtonPressed:(id)sender {\r\n    if (!self.popoverController) {\r\n        PopoverContentViewController *contentViewController = [[PopoverContentViewController alloc] initWithStyle:UITableViewStylePlain];\r\n        contentViewController.items = [[NSArray alloc] initWithObjects:@\"Layer 1\", @\"Layer 2\", @\"Layer 3\", nil];\r\n        contentViewController.popoverType = PCPopoverTypeCheckList; //Custom enum for content\r\n        self.popoverController = [[[popoverClass alloc] initWithContentViewController:contentViewController] autorelease];\r\n        self.popoverController.delegate = self;\r\n        [self.popoverController setContainerViewProperties:[self improvedContainerViewProperties]];\r\n        self.popoverController.passthroughViews = [NSArray arrayWithObject:toolbar];\r\n        [self.popoverController presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];\r\n        [contentViewController release];\r\n    }\r\n    else {\r\n        [self.popoverController dismissPopoverAnimated:YES];\r\n        self.popoverController = nil;\r\n    }\r\n}\r\n```\r\n\r\nThanks in advance,\r\nAlex\r\n"}}