Skip to content

Commit

Permalink
fix find scroll view
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymild authored Sep 21, 2023
1 parent 954e612 commit 495a437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ios/JsiViewHelpers.mm
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ @implementation JsiViewHelpers


auto params = args[0].asObject(runtime);
auto childId = params.getProperty(runtime, "child").asString(runtime).utf8(runtime);
auto childId = params.getProperty(runtime, "childNativeID").asString(runtime).utf8(runtime);
auto offset = params.getProperty(runtime, "offset").asNumber();
auto scrollToEnd = params.getProperty(runtime, "scrollToEnd").getBool();

auto scrollId = params.getProperty(runtime, "scrollViewId");
auto scrollNativeId = params.getProperty(runtime, "scrollView");
auto scrollNativeId = params.getProperty(runtime, "scrollNativeID");
NSNumber* refScrollId;
NSString* nativeScrollId;
NSString* nativeChildId = [[NSString alloc] initWithCString:childId.c_str() encoding:NSUTF8StringEncoding];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-jsi-view-helpers",
"version": "1.0.0",
"version": "1.0.1",
"description": "React Native Jsi view helpers",
"main": "src/index",
"module": "src/index",
Expand Down

0 comments on commit 495a437

Please sign in to comment.