周祺

Results 2 issues of 周祺

The [detector function](https://github.com/ckrack/scrollsnap-polyfill/blob/develop/src/scrollsnap-polyfill.js#L54) is wrong in uiwebview. `'webkitScrollSnapType' in doc.documentElement.style` return `true` in uiwebview, but only wkwebview support scrollSnap.

在[这里](https://github.com/ice-lab/icestark/blob/2289f2551651c111e6d1963e4c987d7acf7df845/packages/icestark/src/start.ts#L34)保存了原始的pushState、replaceState,而包装的时机是调用[hijackHistory](https://github.com/ice-lab/icestark/blob/2289f2551651c111e6d1963e4c987d7acf7df845/packages/icestark/src/start.ts#L94),这中间如果有其它代码对pushState、replaceState做了其它hook,这部分hook逻辑就在hijackHistory里被覆盖掉 应该在hijackHistory时使用最新的pushState、replaceState