mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Typos in comments and log messages
Summary: No code changes, no testing required. alligned -> aligned allignment -> alignment completly -> completely conseptually -> conceptually decendents -> descendants indefinetly -> indefinitely dimention -> dimension doesnt -> doesn't safegaurd -> safeguard intialization -> initialization hierachy -> hierarchy happend -> happened gaurd -> guard programatically -> programmatically initalized -> initialized immidiately -> immediately occured -> occurred unkown -> unknown neccessary -> necessary neccesarily -> necessarily occuring -> occurring comoponent -> component propogate -> propagate recieved -> received referece -> reference perfomance -> performance recieving -> receiving subsquently -> subsequently scoll -> scroll suprisingly -> surprisingly targetting -> targeting tranform -> transform symetrical -> symmetrical wtih -> with Closes https://github.com/facebook/react-native/pull/17578 Differential Revision: D6718791 Pulled By: shergin fbshipit-source-id: 4ab79c1131ec5971d35a0c7199eba7ec0a0918ad
This commit is contained in:
committed by
Facebook Github Bot
parent
cae7179c94
commit
d2c569795c
@@ -777,7 +777,7 @@ RCT_EXPORT_METHOD(removeSubviewsFromContainerWithID:(nonnull NSNumber *)containe
|
||||
NSUInteger originalIndex = [originalSuperview.subviews indexOfObjectIdenticalTo:removedChild];
|
||||
[container removeReactSubview:removedChild];
|
||||
// Disable user interaction while the view is animating
|
||||
// since the view is (conseptually) deleted and not supposed to be interactive.
|
||||
// since the view is (conceptually) deleted and not supposed to be interactive.
|
||||
removedChild.userInteractionEnabled = NO;
|
||||
[originalSuperview insertSubview:removedChild atIndex:originalIndex];
|
||||
|
||||
@@ -1150,7 +1150,7 @@ RCT_EXPORT_METHOD(dispatchViewManagerCommand:(nonnull NSNumber *)reactTag
|
||||
- (void)setNeedsLayout
|
||||
{
|
||||
// If there is an active batch layout will happen when batch finished, so we will wait for that.
|
||||
// Otherwise we immidiately trigger layout.
|
||||
// Otherwise we immediately trigger layout.
|
||||
if (![_bridge isBatchActive] && ![_bridge isLoading]) {
|
||||
[self _layoutAndMount];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user