File tree Expand file tree Collapse file tree 18 files changed +90
-54
lines changed Expand file tree Collapse file tree 18 files changed +90
-54
lines changed Original file line number Diff line number Diff line change @@ -545,9 +545,11 @@ Called when a touch is released.
545545
546546The View is now responding to touch events. This is the time to highlight and show the user what is happening.
547547
548- | Type |
549- | ------------------------------------------------- |
550- | ({nativeEvent: [ PressEvent] ( pressevent ) }) => void |
548+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
549+
550+ | Type |
551+ | ------------------------------------------------------------ |
552+ | ({nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
551553
552554---
553555
Original file line number Diff line number Diff line change @@ -580,9 +580,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a
580580
581581The View is now responding for touch events. This is the time to highlight and show the user what is happening.
582582
583- | Type |
584- | ------------------------------------------------- |
585- | ({nativeEvent: [ PressEvent] ( pressevent ) }) => void |
583+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
584+
585+ | Type |
586+ | ------------------------------------------------------------ |
587+ | ({nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
586588
587589---
588590
Original file line number Diff line number Diff line change @@ -469,9 +469,11 @@ This function is called on press.
469469
470470The View is now responding to touch events. This is the time to highlight and show the user what is happening.
471471
472- | Type |
473- | --------------------------------------------------- |
474- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
472+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
473+
474+ | Type |
475+ | -------------------------------------------------------------- |
476+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
475477
476478---
477479
Original file line number Diff line number Diff line change @@ -373,9 +373,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a
373373
374374The View is now responding for touch events. This is the time to highlight and show the user what is happening.
375375
376- | Type | Required |
377- | --------------------------------------------------- | -------- |
378- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void | No |
376+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
377+
378+ | Type | Required |
379+ | -------------------------------------------------------------- | -------- |
380+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean | No |
379381
380382---
381383
Original file line number Diff line number Diff line change @@ -513,9 +513,11 @@ Called when a touch is released.
513513
514514The View is now responding to touch events. This is the time to highlight and show the user what is happening.
515515
516- | Type |
517- | --------------------------------------------------- |
518- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
516+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
517+
518+ | Type |
519+ | -------------------------------------------------------------- |
520+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
519521
520522---
521523
Original file line number Diff line number Diff line change @@ -441,9 +441,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a
441441
442442The View is now responding for touch events. This is the time to highlight and show the user what is happening.
443443
444- | Type |
445- | --------------------------------------------------- |
446- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
444+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
445+
446+ | Type |
447+ | -------------------------------------------------------------- |
448+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
447449
448450---
449451
Original file line number Diff line number Diff line change @@ -513,9 +513,11 @@ Called when a touch is released.
513513
514514The View is now responding to touch events. This is the time to highlight and show the user what is happening.
515515
516- | Type |
517- | --------------------------------------------------- |
518- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
516+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
517+
518+ | Type |
519+ | -------------------------------------------------------------- |
520+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
519521
520522---
521523
Original file line number Diff line number Diff line change @@ -441,9 +441,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a
441441
442442The View is now responding for touch events. This is the time to highlight and show the user what is happening.
443443
444- | Type |
445- | --------------------------------------------------- |
446- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
444+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
445+
446+ | Type |
447+ | -------------------------------------------------------------- |
448+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
447449
448450---
449451
Original file line number Diff line number Diff line change @@ -513,9 +513,11 @@ Called when a touch is released.
513513
514514The View is now responding to touch events. This is the time to highlight and show the user what is happening.
515515
516- | Type |
517- | --------------------------------------------------- |
518- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
516+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
517+
518+ | Type |
519+ | -------------------------------------------------------------- |
520+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
519521
520522---
521523
Original file line number Diff line number Diff line change @@ -441,9 +441,11 @@ If a parent `View` wants to prevent a child `View` from becoming responder on a
441441
442442The View is now responding for touch events. This is the time to highlight and show the user what is happening.
443443
444- | Type |
445- | --------------------------------------------------- |
446- | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void |
444+ On Android, return true from this callback to prevent any other native components from becoming responder until this responder terminates.
445+
446+ | Type |
447+ | -------------------------------------------------------------- |
448+ | ({ nativeEvent: [ PressEvent] ( pressevent ) }) => void \| boolean |
447449
448450---
449451
You can’t perform that action at this time.
0 commit comments