Skip to content

<TouchableNativeFeedback /> Component At Ripple Method #19864

@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 👍 👍

Activity

react-native-bot

react-native-bot commented on Jun 23, 2018

@react-native-bot
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to start a discussion, check out https://discuss.reactjs.org or follow the discussion template.

locked as resolved and limited conversation to collaborators on Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @HamidReazaNikoonia@react-native-bot

        Issue actions

          <TouchableNativeFeedback /> Component At Ripple Method · Issue #19864 · facebook/react-native