admin管理员组文章数量:1320915
I am using react native copilot and I need the copilot to work on various screens, not just one.
It works fine on the first screen but when I navigate to another (where everything is already set up for the copilot to work and I am calling start again), the steps of the first screen show up.
I am using in all of my screen the same useEffect:
useEffect(() => {
start(undefined, scrollViewRef.current);
return () => {
copilotEvents.off('stop');
};
}, []);
to start the process individually on each one but it always falls back to the steps of the firsts screen.
本文标签: androidhow to handle react native copilot with multiple screensStack Overflow
版权声明:本文标题:android - how to handle react native copilot with multiple screens? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741997077a2410261.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论