mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-02 02:25:22 +00:00
[fix] Allow Pressable to be programmatically focused when disabled
Fix #2357
This commit is contained in:
@@ -34,6 +34,8 @@ export default function PressablePage() {
|
||||
delayPressIn={delay}
|
||||
delayPressOut={delay}
|
||||
disabled={disabled}
|
||||
onBlur={handleEvent('onBlur')}
|
||||
onFocus={handleEvent('onFocus')}
|
||||
onHoverIn={handleEvent('onHoverIn')}
|
||||
onHoverOut={handleEvent('onHoverOut')}
|
||||
onKeyDown={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user