react-native-copilot
react-native-copilot copied to clipboard
Nesting CopilotStep within a CopilotStep results in infinite loop
Current Behavior
Nest a CopilotStep with in a CopilotStep and it results in an infinite loop.
Input Code
<CopilotStep name="shareBrightToday" order={1} text="Share your practice. You can also invite a grownup to learn along with you!">
<CopilotTouchableOpacity>
<View>
[...]
<CopilotStep name="shareBrightToday" order={2} text="Share your practice. You can also invite a grownup to learn along with you!">
<CopilotTouchableOpacity>
[...]
</copilottouchableopacity>
</CopilotStep
</View>
</copilottouchableopacity>
</CopilotStep
Expected behavior/code
No infinite loop
Environment
- Device: iPhone 8 simulator
- OS: iOS 12
react-native-copilot: 2.4.1react-native: 0.55.4react-native-svg: 6.3.1
Possible Solution
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.
Any updates on this?