{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/333","labels_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/333/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/333/events","html_url":"https://github.com/CartoDB/cartodb.js/issues/333","id":57312014,"number":333,"title":"Offset bug on touch devices when map is position fixed","user":{"login":"turban","id":548708,"avatar_url":"https://avatars.githubusercontent.com/u/548708?v=3","gravatar_id":"","url":"https://api.github.com/users/turban","html_url":"https://github.com/turban","followers_url":"https://api.github.com/users/turban/followers","following_url":"https://api.github.com/users/turban/following{/other_user}","gists_url":"https://api.github.com/users/turban/gists{/gist_id}","starred_url":"https://api.github.com/users/turban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turban/subscriptions","organizations_url":"https://api.github.com/users/turban/orgs","repos_url":"https://api.github.com/users/turban/repos","events_url":"https://api.github.com/users/turban/events{/privacy}","received_events_url":"https://api.github.com/users/turban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"fdansv","id":3707222,"avatar_url":"https://avatars.githubusercontent.com/u/3707222?v=3","gravatar_id":"","url":"https://api.github.com/users/fdansv","html_url":"https://github.com/fdansv","followers_url":"https://api.github.com/users/fdansv/followers","following_url":"https://api.github.com/users/fdansv/following{/other_user}","gists_url":"https://api.github.com/users/fdansv/gists{/gist_id}","starred_url":"https://api.github.com/users/fdansv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdansv/subscriptions","organizations_url":"https://api.github.com/users/fdansv/orgs","repos_url":"https://api.github.com/users/fdansv/repos","events_url":"https://api.github.com/users/fdansv/events{/privacy}","received_events_url":"https://api.github.com/users/fdansv/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-11T12:52:46Z","updated_at":"2015-02-18T12:02:13Z","closed_at":null,"body":"We're having trouble with the _findPos method in leaflet_cartodb_layergroup.js: \r\nhttps://github.com/CartoDB/cartodb.js/blob/develop/src/geo/leaflet/leaflet_cartodb_layergroup.js#L267\r\n\r\nThe bug occurs when we have our map in a position fixed div (we use this as pseudo fullscreen on our site). The position calculation fails on touch devices, and the popup is not shown (tested on Andorid and iPhone). \r\n\r\nTry this example on your mobile:\r\nhttp://thematicmapping.org/playground/cartodb/bugs/fixedpos.html\r\n\r\nScroll down to the map and click the fullscreen button. You'll see that popups on the CartoDB layer are not showing, while the Leaflet marker popup works. Everything works if the map div is not position fixed. \r\n\r\nRelated to this bug: https://github.com/CartoDB/cartodb.js/issues/114  "},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/comments/74853448","html_url":"https://github.com/CartoDB/cartodb.js/issues/333#issuecomment-74853448","issue_url":"https://api.github.com/repos/CartoDB/cartodb.js/issues/333","id":74853448,"user":{"login":"fdansv","id":3707222,"avatar_url":"https://avatars.githubusercontent.com/u/3707222?v=3","gravatar_id":"","url":"https://api.github.com/users/fdansv","html_url":"https://github.com/fdansv","followers_url":"https://api.github.com/users/fdansv/followers","following_url":"https://api.github.com/users/fdansv/following{/other_user}","gists_url":"https://api.github.com/users/fdansv/gists{/gist_id}","starred_url":"https://api.github.com/users/fdansv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdansv/subscriptions","organizations_url":"https://api.github.com/users/fdansv/orgs","repos_url":"https://api.github.com/users/fdansv/repos","events_url":"https://api.github.com/users/fdansv/events{/privacy}","received_events_url":"https://api.github.com/users/fdansv/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T12:02:13Z","updated_at":"2015-02-18T12:02:13Z","body":"Hi @turban, have you tried using the current version of Leaflet's fullscreen plugin, from Mapbox's CDN? Seems to work fine when I use it instead of what you currently have:\r\n\r\n```\r\n<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v0.0.2/Leaflet.fullscreen.min.js'></script>\r\n<link href='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v0.0.2/leaflet.fullscreen.css' rel='stylesheet' />\r\n```"}}