stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Card field initial rendering hiding/cutting fields in Android device

Open ayazalavi opened this issue 2 years ago • 5 comments

Describe the bug In android phone CardField component is half visible as shown below:

Screenshot_20230222_160029_CuddlyNest

on ios it seems fine: Screenshot 2023-02-22 at 4 09 33 PM

To Reproduce Steps to reproduce the behavior: <CardField ref={forwardedRef} accessible={true} autofocus={focus} postalCodeEnabled={false} style={...} cardStyle={{ ...styles, placeholderColor: "#ACABB4", }} onCardChange={(d) => { ... }} onFocus={(f) => { ... }} />

Expected behavior I want all 3 fields to be visible and editable on first load

Smartphone (please complete the following information):

  • Android v13
  • ios 16

package.json "@stripe/stripe-react-native": "^0.15.0",

ayazalavi avatar Feb 22 '23 11:02 ayazalavi

same thing happening with me. please someone help

shashigit107 avatar Feb 25 '23 15:02 shashigit107

Describe the bug In android phone CardField component is half visible as shown below:

Screenshot_20230222_160029_CuddlyNest

on ios it seems fine: Screenshot 2023-02-22 at 4 09 33 PM

To Reproduce Steps to reproduce the behavior: <CardField ref={forwardedRef} accessible={true} autofocus={focus} postalCodeEnabled={false} style={...} cardStyle={{ ...styles, placeholderColor: "#ACABB4", }} onCardChange={(d) => { ... }} onFocus={(f) => { ... }} />

Expected behavior I want all 3 fields to be visible and editable on first load

Smartphone (please complete the following information):

  • Android v13
  • ios 16

package.json "@stripe/stripe-react-native": "^0.15.0", How you have solved this issue

shashigit107 avatar Mar 07 '23 06:03 shashigit107

please tell how you have solved this Issue

shashigit107 avatar Mar 07 '23 06:03 shashigit107

Any solution on this issue?

SureshESR avatar Apr 20 '23 10:04 SureshESR

Does this happen on a fresh emulator for you? So far I haven't been able to reproduce this

charliecruzan-stripe avatar May 27 '23 00:05 charliecruzan-stripe