{"action":"created","issue":{"url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/54","labels_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/54/comments","events_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/54/events","html_url":"https://github.com/zhangxinxu/mobilebone/issues/54","id":53850748,"number":54,"title":"page里面需要固定定位元素的问题","user":{"login":"woaixiangbao","id":1953879,"avatar_url":"https://avatars.githubusercontent.com/u/1953879?v=3","gravatar_id":"","url":"https://api.github.com/users/woaixiangbao","html_url":"https://github.com/woaixiangbao","followers_url":"https://api.github.com/users/woaixiangbao/followers","following_url":"https://api.github.com/users/woaixiangbao/following{/other_user}","gists_url":"https://api.github.com/users/woaixiangbao/gists{/gist_id}","starred_url":"https://api.github.com/users/woaixiangbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woaixiangbao/subscriptions","organizations_url":"https://api.github.com/users/woaixiangbao/orgs","repos_url":"https://api.github.com/users/woaixiangbao/repos","events_url":"https://api.github.com/users/woaixiangbao/events{/privacy}","received_events_url":"https://api.github.com/users/woaixiangbao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-09T09:53:50Z","updated_at":"2015-03-23T05:41:43Z","closed_at":null,"body":"好像我之前提过这个问题，当某个page需要一个固定在底部的元素的时候，由于用fixed失效，所以我使用absolute属性，但是某些时候会莫名其妙的不起作用。特别是在ios下，我发现有时候z-index会失效，我google了一下，说有可能是和transform属性有关，不过由于解释的过于复杂，我都看不懂，涉及层级之类的（stacking context）。\r\n\r\n此处我说的底部是指只有这个page需要的一个底部，如果切换到别的page以后，别的page不能有这个底部的存在，我想不仅局限于一个固定在底部的元素，假如有需要置顶的元素或者别的固定定位的元素的话，应该都会出现这中问题。\r\n\r\n不知道有哪位仁兄有比较好的解决办法没有。\r\n"},"comment":{"url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/comments/84817436","html_url":"https://github.com/zhangxinxu/mobilebone/issues/54#issuecomment-84817436","issue_url":"https://api.github.com/repos/zhangxinxu/mobilebone/issues/54","id":84817436,"user":{"login":"woaixiangbao","id":1953879,"avatar_url":"https://avatars.githubusercontent.com/u/1953879?v=3","gravatar_id":"","url":"https://api.github.com/users/woaixiangbao","html_url":"https://github.com/woaixiangbao","followers_url":"https://api.github.com/users/woaixiangbao/followers","following_url":"https://api.github.com/users/woaixiangbao/following{/other_user}","gists_url":"https://api.github.com/users/woaixiangbao/gists{/gist_id}","starred_url":"https://api.github.com/users/woaixiangbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woaixiangbao/subscriptions","organizations_url":"https://api.github.com/users/woaixiangbao/orgs","repos_url":"https://api.github.com/users/woaixiangbao/repos","events_url":"https://api.github.com/users/woaixiangbao/events{/privacy}","received_events_url":"https://api.github.com/users/woaixiangbao/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T05:41:43Z","updated_at":"2015-03-23T05:41:43Z","body":"@zhangxinxu 谢谢！这么晚才来回复，的确和手机没关系，是我的结构写错了。我看了你在慕课网的关于absolute的视频，才发现我写错了，我把结构改过来以后就好了！谢谢你。这个应该可以关闭了。"}}