Skip to content

Conversation

@Krishna2323
Copy link

Issue

When a new list item is added in NestableDraggableFlatList we get the warning Warning: ref.measureLayout must be called with a node handle or a ref to a native component.

This happens because we are using findNodeHandle and this PR in react-native now allows measureLayout to be passed a ref and throw the warning if node is passed.

const nodeHandle = findNodeHandle(scrollableRef.current);

containerRef.current.measureLayout(nodeHandle, onSuccess, onFail);

Demo

340080842-d9cafd74-479f-4ec5-abfa-7cc51a51138e.mp4

@DimaIvashchuk
Copy link

@computerjazz Hey mate, can you merge it?

@erikarens
Copy link

@computerjazz would be great if you could merge this, thanks.

@avrcoelho
Copy link

@computerjazz could you merge it?

@truesteps
Copy link

truesteps commented Nov 16, 2025

@computerjazz can this be merged :)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants