builder icon indicating copy to clipboard operation
builder copied to clipboard

React Native SDK: Custom Functions Triggering Unexpectedly

Open TGTGamer opened this issue 3 years ago • 1 comments

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:

  1. Create a button
  2. Pass a custom function via context
  3. 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.

TGTGamer avatar Nov 09 '22 13:11 TGTGamer

@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

TGTGamer avatar Nov 10 '22 17:11 TGTGamer