前端技术体系收集
liyatang opened this issue · 14 comments
liyatang commented
流程:
- 评论区留下知识点(知识点标题 [+ 内容 or 链接])
- 负责人会收集和整理
- 完善知识点
- 并入 README
HecateDK commented
Chaoming-L commented
chenzesam commented
fundebug 总结
liyatang commented
liyatang commented
url 参数 知识点
liyatang commented
heyong-2015 commented
移动端1px问题
liyatang commented
HecateDK commented
移动端踩坑
Gesangs commented
- ios 10.3中 flexbox 与 height100% 的冲突
- inherit:height100%和inherit的区别 MDN
- scroll:MDN
- 标签嵌套规则: http://www.softwhy.com/article-33-1.html
Pines-Cheng commented
交互方面的权威指南,特别是移动端应用及组件:Human Interface Guidelines
Gesangs commented
移动端hover:https://www.w3cways.com/1963.html
liyatang commented
// 修复 ios 微信内键盘弹回页面没弹回bug,6.7.4 之上都有
// 通过增加页面搞定,然后复原来 hack
function fixWeiXinKeyboard () {
if (is.iOS() && is.weixin()) {
window.document.body.addEventListener('focusout', (e) => {
if (e.target.tagName.toLocaleLowerCase() === 'input') {
// 小于 100 不行,100.01 不行,100.1 行
window.document.body.style.height = '100.1%'
setTimeout(() => {
window.document.body.style.height = ''
}, 1)
}
})
}
}