react-native-navigation的迁移库

options-overlay.mdx 780B

123456789101112131415161718192021222324252627282930
  1. ---
  2. id: overlay-options
  3. title: Overlay
  4. sidebar_label: Overlay
  5. ---
  6. Controls overlay options
  7. ```js
  8. const options = {
  9. overlay: {
  10. }
  11. }
  12. ```
  13. ### `interceptTouchOutside`
  14. Controls whether touch events outside the bounds of the overlay are to be handled by content behind the overlay. When set to true, touch events will **not** pass through to the underlying content.
  15. | Type | Required | Platform |
  16. | ----- | -------- | -------- |
  17. | boolean | No | Both |
  18. ### `handleKeyboardEvents`
  19. Overlays on iOS don't handle keyboard events by default. If your Overlay contains a TextInput component, you'll want to enable this option so that TextInput responds to keyboard events.
  20. | Type | Required | Platform |
  21. | ------ | -------- | -------- |
  22. | boolean | No | iOS |