mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
44bf85a041
Summary: On iPad we may get two touch cancel events in direct succession. They would have the same coalescing key, which would result in unsuccesful attempt to coalesce them. This diff fixes it by making sure two cancel events cannot have the same coalescing key. (An alternative fix would be implementing coalescing logic for cancel events, but that sounds more complicated. It would be neccessary if there is a legit scenario where big number of cancel events are emitted in succesion.) Reviewed By: javache Differential Revision: D3292405 fbshipit-source-id: 1f269771dc81fdd637cf6ac3ee4725e5e2fec679