mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deprecate UIManager.measureLayoutRelativeToParent
Summary: UIManager.measureLayoutRelativeToParent will not be supported as part of fabric. This diff deprecates this method in the current version or React Native. Reviewed By: fkgozali Differential Revision: D16471845 fbshipit-source-id: acfda9bfb2dd8553ff8e359ea2c8d7d88a14c6d2
This commit is contained in:
committed by
Facebook Github Bot
parent
8131b7bb7b
commit
e42009b784
@@ -607,8 +607,11 @@ public class UIManagerModule extends ReactContextBaseJavaModule
|
||||
* <p>NB: Unlike {@link #measure}, this will measure relative to the view layout, not the visible
|
||||
* window which can cause unexpected results when measuring relative to things like ScrollViews
|
||||
* that can have offset content on the screen.
|
||||
*
|
||||
* @deprecated This method will not be part of Fabric.
|
||||
*/
|
||||
@ReactMethod
|
||||
@Deprecated
|
||||
public void measureLayoutRelativeToParent(
|
||||
int tag, Callback errorCallback, Callback successCallback) {
|
||||
mUIImplementation.measureLayoutRelativeToParent(tag, errorCallback, successCallback);
|
||||
|
||||
Reference in New Issue
Block a user