Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
Users interact with Vega apps through touch (on multimodal devices) or a D-Pad remote control (on TV). React Native provides components that handle both input methods — onPress fires whether the user taps the screen or presses the select button on a remote.

Pressable components

The recommended way to handle user input is with Pressable. It works across all Vega profiles:
Other touchable components: All of these respond to both touch and D-Pad select.

Long press

Detect when a user presses and holds (touch) or long-presses the select button (D-Pad):

TV Navigation (D-Pad)

On TV devices, there is no touchscreen. Users navigate using directional buttons (up, down, left, right) and a select button. The system moves focus between interactive elements based on a Cartesian distance algorithm.

Focus indicators

Every interactive element must show a clear visual change when focused. Use physical changes (border, scale) — not just color or opacity:

Focusable components

Making non-interactive components focusable

Controlling focus direction

Override the default focus algorithm using nextFocus props:
Available directional props: nextFocusUp, nextFocusDown, nextFocusLeft, nextFocusRight.

Setting initial focus

For dynamic focus control, use FocusManager:

TVFocusGuideView

Advanced focus container for controlling focus behavior in complex layouts.

FocusManager API

Imperative focus control via TurboModule:

Handling rapid key presses

If focus behaves unexpectedly during rapid D-Pad presses, use the enableSynchronousFocusEvents prop:

Troubleshooting

Further reading

最終更新日 2026年10月26日