Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputItem清除icon丢失? #227

Closed
1 task done
fred8617 opened this issue Dec 26, 2018 · 6 comments
Closed
1 task done

InputItem清除icon丢失? #227

fred8617 opened this issue Dec 26, 2018 · 6 comments

Comments

@fred8617
Copy link

fred8617 commented Dec 26, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.1

Environment

安卓

Reproduction link

http://手机扫码演示,web暂时看不到

Steps to reproduce

What is expected?

正常显示X号

What is actually happening?

看不到X号

@ant-design-bot
Copy link

Hello @Fled8617. Please provide a re-producible demo: https://codesandbox.io/s/9ll8k8614p?module=%2Fsrc%2FApp.js or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

@jskod
Copy link

jskod commented Dec 29, 2018

After upgrading to 3x, with clear prop, shows only a gray round icon on right of the input to clear the input. But it doesn't show x or cross icon. When I tap on the icon, then it changes color and x or cross icon shows up. Otherwise, it only shows a circular icon.....

@jskod
Copy link

jskod commented Dec 29, 2018

<InputItem
      clear
       value={buyBoxAmount}
        onChange={this.handleListPriceChange}
        onBlur={this.getFeeEstimate}
         placeholder="0.00"
         labelNumber={7}
          >
            List Price ($)
          </InputItem>

@jadertao
Copy link
Contributor

jadertao commented Jan 2, 2019

I have reproduced this issue only in Android not in iOS. This is not because icon is lost but because the TouchableOpacity has an improper background color.
Maybe I can fix it.

@BANG88
Copy link
Member

BANG88 commented Jan 3, 2019

fixed by @JadeTao

@BANG88 BANG88 closed this as completed Jan 3, 2019
@M45ter
Copy link
Contributor

M45ter commented Apr 24, 2019

@BANG88
今天试了下InputItem,clear的图标没有显示,官网的演示也没有显示
Version
3.1.5

Environment
安卓

React native version
0.59.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants