builder
builder copied to clipboard
React Native SDK: Custom Functions Triggering Unexpectedly
Describe the bug When using custom functions following the React Guide, https://www.builder.io/c/docs/react/custom-actions, the function is triggered without clicking on the element
To Reproduce Steps to reproduce the behavior:
- Create a button
- Pass a custom function via context
- Using custom code, call the function as
context.<yourfunction>()
Expected behavior To be called on click of element
Additional context @samijaber requested I opened these tickets via discord.
@samijaber can I get confirmation you have managed to successfully replicate this? Currently, the only issue holding up further development and testing from our end using the React-Native SDK