Giter VIP home page Giter VIP logo

Comments (4)

Mazztwo avatar Mazztwo commented on May 18, 2024

Temporarily, I pass the SearchBar component the prop SearchIcon with the value being an Icon:

const searchIcon = () => {
        return (
            <Icon
                name={'magnify'}
                type={'material-community'}
            />
        );
    };

<SearchBar 
   ...
   searchIcon={searchIcon}
/>

from react-native-elements.

thomasamaddeo-genie avatar thomasamaddeo-genie commented on May 18, 2024

Any update on this?
having the same issue on iOS only.

Search and Clear icons not displaying

image

"@rneui/base": "^4.0.0-rc.8"
"@rneui/themed": "^4.0.0-rc.8"
"react-native": "0.72.6"

Also temporarily addressed it manually specifying both icons (which wasn't previously required).

from react-native-elements.

arcln avatar arcln commented on May 18, 2024

This happens to me when upgrading react-native-vector-icons from v9 to v10.

from react-native-elements.

soniaalabed avatar soniaalabed commented on May 18, 2024

I was able to fix this by adding the a searchIcon:
<SearchBar searchIcon={Platform.OS === 'ios' ? {name: 'search'} : null} clearIcon={Platform.OS === 'ios' ? {name: 'close-circle'} : null} />

from react-native-elements.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.