{"action":"opened","issue":{"url":"https://api.github.com/repos/zurb/foundation/issues/6306","labels_url":"https://api.github.com/repos/zurb/foundation/issues/6306/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation/issues/6306/comments","events_url":"https://api.github.com/repos/zurb/foundation/issues/6306/events","html_url":"https://github.com/zurb/foundation/issues/6306","id":58139388,"number":6306,"title":"Reflow preformance issues","user":{"login":"alextyrey","id":1429681,"avatar_url":"https://avatars.githubusercontent.com/u/1429681?v=3","gravatar_id":"","url":"https://api.github.com/users/alextyrey","html_url":"https://github.com/alextyrey","followers_url":"https://api.github.com/users/alextyrey/followers","following_url":"https://api.github.com/users/alextyrey/following{/other_user}","gists_url":"https://api.github.com/users/alextyrey/gists{/gist_id}","starred_url":"https://api.github.com/users/alextyrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextyrey/subscriptions","organizations_url":"https://api.github.com/users/alextyrey/orgs","repos_url":"https://api.github.com/users/alextyrey/repos","events_url":"https://api.github.com/users/alextyrey/events{/privacy}","received_events_url":"https://api.github.com/users/alextyrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T22:29:37Z","updated_at":"2015-02-18T22:29:37Z","closed_at":null,"body":"I'm having preformance issues with the following:\r\n```\r\n$(document).foundation('dropdown', 'reflow');\r\n$(document).foundation('tooltip', 'reflow');\r\n```\r\nThese are called in a callback when my infinitescroll script renders new content. On each page, 20 items are returned and each of those items have 1 dropdown and 1 tooltip.\r\n\r\nWhen the infinitescroll script appends the new page, my browser freezes for ~2 seconds. It is very annoying. Doing something like `$('#stream').foundation('tooltip', 'reflow');` noticeably helps, but not passing the whole document results in \"glitchy\" behavior with the dropdowns and tooltips.\r\n\r\nThe tooltips seem to dis/appear at random and the dropdowns close even when hovering over them.\r\n\r\nI debated whether or not I should post this because I can't offer a demo. And as dev, I definitely understand the frustration that comes after hearing that.\r\n\r\nAny tips/suggestions are welcome."}}