Skip to content

<TouchableNativeFeedback /> Component At Ripple Method #19864

Closed
@HamidReazaNikoonia

Description

@HamidReazaNikoonia

my question is about (TouchableNativeFeedback) [[RectNativeComponent]] method

in react Native Document , facebook say

  static Ripple(color: string, borderless: boolean);

i want know how implement this and where must be called

| ReactNative :: 0.55.4 | | Platform :: Android . |

i use this method like this

 <TouchableNativeFeedback background={TouchableNativeFeedback.Ripple('green')}>
 </TouchableNativeFeedback>

But Im Testing This with my Emulator in last Android Version and also check in some Real Device with Different Android Version but still not working

Why ?
is it any problem in my implementation in code

    background={TouchableNativeFeedback.Ripple('green')}

or other reason ??

and also i know about TouchableNativeFeedback , This Component work different when clicked and this relay on Android Version Because this Component is Native , and in other word i know New Android Version handle Native Touch with Ripple , but in my Emulator and Real Devices at Last Version of Android but why i cant get Ripple effect ?? this is ISSUE or it is typical and correct work ??

please HELP ME , Thanks 👍 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions