react-native-macos/React
Xin Chen 55392f65a6 Fix issue with setting shadow node state data after scrolling programmatically
Summary:
This issue is found when investigating T101563978 with IOS platform. When animation is off, the x position measurement is off after `scrollToItem` is called.

The android fix is checked in at D31492685 (1a9e2d5d55). For IOS, the correct state data is updated only for animated cases, but not for instant scroll cases. This diff unified them.

Changelog
[IOS][Fixed] Fixed an edge case when scroll to item/index is called without animation, the offset position is not updated. This caused the measurement of the position to be wrong.

Reviewed By: sammy-SC

Differential Revision: D31564169

fbshipit-source-id: 89f47d8054afb03c2ace1d595163b160e5bb2036
2021-10-12 17:43:26 -07:00
..
AccessibilityResources/en.lproj VoiceOver reads Tab elements as "Tab Description" (#30689) 2021-01-15 11:09:01 -08:00
Base Back out "Send unix timestamp for touch events instead of systemUptime" 2021-09-24 18:11:33 -07:00
CoreModules Remove shared responsibility between LogBox and ExceptionsManager native module 2021-10-08 11:08:43 -07:00
CxxBridge Setup a new macro to gate the core packager functionality 2021-09-13 12:09:12 -07:00
CxxModule Fix crash in RCTCoreModulesClassProvider during quit 2021-04-28 13:29:06 -07:00
CxxUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
DevSupport Propose to connect metro server programmatically (#31828) 2021-09-22 10:40:06 -07:00
FBReactNativeSpec Link RCT-Folly against libc++abi 2021-09-16 22:24:10 -07:00
Fabric Fix issue with setting shadow node state data after scrolling programmatically 2021-10-12 17:43:26 -07:00
Inspector Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Modules Fix Deadlock in RCTi18nUtil (iOS) (#31032) 2021-08-06 02:44:50 -07:00
Profiler fix typos in comments (#32061) 2021-08-24 07:21:56 -07:00
Tests Fix accessibility when entire text node is a link 2021-05-11 01:23:04 -07:00
UIUtils A couple of checks for corner cases in RCTGetDimensions and RCTExportedDimensions 2020-10-01 13:19:52 -07:00
Views Back out "Feature: ScrollView `automaticallyAdjustKeyboardInsets`" 2021-09-28 14:05:00 -07:00
React-RCTFabric.podspec Remove libstdc++ dependency (#32247) 2021-10-08 14:16:54 -07:00
third-party.xcconfig Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (#31840) 2021-07-16 15:13:12 -07:00