NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Ripple/Highlight effect on a rounded Button does not respect border radius

Open Mexxerio opened this issue 9 years ago • 14 comments

react-native, react and native-base version

react-native 0.47.2 react 16.0.0-alpha.12 native-base 2.3.1

but also happens on KitchenSink

Expected behaviour

When you click a rounded Button the Ripple effect should respect the border radius and stay inside of the button

Actual behaviour

The Ripple effect does not have a border radius and gives the impression of a rectangular button

Steps to reproduce (code snippet or screenshot)

  1. Clone KitchenSink
  2. Go to the rounded button screen
  3. Change the background color to #4e4d4d
  4. Press button

Screenshot of emulator/device

screenshot_1504426031

Is the bug present in both ios and android or in any one of them?

Just tested in Android

Any other additional info which would help us debug the issue quicker.

Mexxerio avatar Sep 03 '17 08:09 Mexxerio

+1 Same problem

cklinx avatar Feb 25 '18 20:02 cklinx

+1

ferprez avatar Feb 27 '18 22:02 ferprez

@SupriyaKalghatgi Any idea when this will be released?

isaachinman avatar Mar 12 '18 16:03 isaachinman

@isaachinman #1528 here is the PR Some contradictory results across different system while verifying this PR, hence delay

SupriyaKalghatgi avatar Mar 13 '18 05:03 SupriyaKalghatgi

@SupriyaKalghatgi Okay, great. I see you release this lib pretty often. Can we assume this will be rolled out within a few weeks?

isaachinman avatar Mar 13 '18 09:03 isaachinman

@isaachinman yes ofcourse

SupriyaKalghatgi avatar Mar 13 '18 09:03 SupriyaKalghatgi

+1

kayzenkayzen avatar Mar 27 '18 00:03 kayzenkayzen

Fixed with 2.4.1

SupriyaKalghatgi avatar Mar 27 '18 10:03 SupriyaKalghatgi

Still facing issue in "native-base": "^2.8.2",

Is there any workaround to solve this?

Thanks

akhilsanker avatar Mar 01 '19 06:03 akhilsanker

Thats fixed and working

SupriyaKalghatgi avatar Mar 01 '19 06:03 SupriyaKalghatgi

Hi @SupriyaKalghatgi ,

Thanks for the reply. Sorry to say I am still facing the issue. Could you please find the attachment? Please find my versions here: "native-base": "^2.8.2", "react": "16.6.3", "react-native": "0.57.8",

2019_03_01_12_37_12.mp4.zip

Thank you for your time.

akhilsanker avatar Mar 01 '19 07:03 akhilsanker

I would recommend clearing node_modules, lock files, run yarn, clear npm cache before build and then build

SupriyaKalghatgi avatar Mar 01 '19 07:03 SupriyaKalghatgi

Hi @SupriyaKalghatgi ,

Thanks for the suggestion. I would try it and let you know.

Thanks

akhilsanker avatar Mar 01 '19 07:03 akhilsanker

I have the latest version 2.12.1. but also have the same problem

byteab avatar Jul 15 '19 08:07 byteab