bootstrap-rn 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { useRef, useMemo, RefObject } from 'react';
2
- import { Platform, findNodeHandle } from 'react-native';
2
+ import { Platform } from 'react-native';
3
3
  import type { ViewRef } from '../components/View';
4
4
 
5
5
  type ScrollbarEffectsState = {
@@ -49,7 +49,7 @@ export default function useScrollbarEffects(
49
49
  // Set body and fixed elements padding adjustments.
50
50
  const fixedElements = elements
51
51
  .filter((ref) => ref.current)
52
- .map((ref) => findNodeHandle(ref.current));
52
+ .map((ref) => ref.current);
53
53
 
54
54
  // @ts-expect-error fixedElements should be of type HTMLElement[]
55
55
  state.current.elements = [document.body, ...fixedElements];