beyondxgb

Results 3 issues of beyondxgb

&-top { top: 0; width: 100vw; transform: translateY(-100%); } &-bottom { bottom: 0; width: 100vw; transform: translateY(100%); } 应该加上 left: 0,要不挂在宽度不是100%的容器,就不靠左了

https://github.com/ice-lab/icestark/blob/master/packages/icestark/src/start.ts#L94 在 start 的时候调用 hijackHistory 复写 pushState 和 replaceState,这时拿到的 originalPush 不是最新的,因为在 start 之前,同样有二方库(比如 aem )复写了 pushState 和 replaceState,导致最终执行 start 的时候,代码的 originalPush 和 originalReplace 引用的还是老的,而 aem 复写的就不生效了。正确做法是在执行 hijackHistory 的时候,赋予 originalPush 和...