Skip to content

taroify/taro330-nexttick

Repository files navigation

nextTick 在微信小程序 usePageScroll 内不执行

function NextTick() {

  usePageScroll(() => {
    console.log("usePageScroll")
    nextTick(() => console.log("usePageScroll nextTick"))
  })

  return (
    <View style={{height: "200vh"}}/>
  );
}

H5 中的效果

h5

weapp 中的效果

weapp

期望的结果是 weapp 和 h5 一样。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published