We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8baabdf commit 6bb0d6bCopy full SHA for 6bb0d6b
1 file changed
packages/react-native-gesture-handler/apple/Handlers/RNHoverHandler.m
@@ -166,11 +166,13 @@ - (void)setCurrentPointerType:(RNGestureHandlerPointerType)pointerType
166
{
167
_pointerType = pointerType;
168
169
+#if CHECK_TARGET(16_1)
170
if (@available(iOS 16.1, *)) {
171
if (((UIHoverGestureRecognizer *)self.recognizer).zOffset > 0.0) {
172
_pointerType = RNGestureHandlerStylus;
173
}
174
175
+#endif
176
177
178
- (RNGestureHandlerEventExtraData *)eventExtraData:(UIGestureRecognizer *)recognizer
0 commit comments