染陌同学

Results 38 issues of 染陌同学

需求:H5作品分享以及社交功能。

抽象分层 FocusController 以拆分 input 聚焦以及焦点转移等处理逻辑。

enhancement

避免一直 dispatch Event 到 JS,需要开发者监听并获取 scrollTop 等数据,既来回传递新消息,也会不断触发 flushUICommand,消耗额外的性能。 期望通过监听事件提升滚动场景下滚动到底 loadmore 的性能。 ### 监听 通过 Web 标准的 `addEventListener` 来监听。 ### 事件 滚动至顶部边界 - scrolltotop 滚动至底部边界 - scrolltobottom 滚动至左侧边界 - scrolltoleft 滚动至右侧边界...

enhancement

不要给用户过多理解与使用成本,内部处理掉。

bug

在一些首屏大批量 UICommand 的场景下, 低端机一次性渲染所有指令速度慢,白屏时间久,通过动态计算切片来剪短首次 UICommand 时间,多切片执行完成首屏,减少白屏时间,用户页面首次可见时间更快。 PS:部分读取属性等可能会需要调用 flushUICommand 来得到 layout 以后的结果,根据场景做优化。

enhancement

hello~ When I use something like this in MarkDown, it will compile errors. Because the code block includes '{' and '}'. ```javascript function a () { return 1 } ```

We hope to solve the problem of obtaining whether the current host environment itself provides a certain event capability according to the "feature judgment" under the Web standard, so as...