Giter Site home page Giter Site logo

react-native-paper-autocomplete's People

Contributors

arjendevos avatar richardlindhout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-paper-autocomplete's Issues

Timeline

Hey @RichardLindhout, another awesome react-native-paper component as always. Just out of curiosity, do you have a rough time frame on when this might be out of beta and supported on all platforms? I'd be interested in using this down the road on a personal project.

List of a few bugs

Hey! Awesome work getting this off the ground. I've been looking for something like this for a few weeks now and it's super exciting to see this repo pop up!

Just wanted to enumerate a few bugs I've noticed in very early testing. I will try to contribute to this project if I have time, but unfortunately, this area of my project is not high priority yet, so it may be some time before I can.

These were all discovered on a physical iOS device using managed Expo:

  1. The list doesn't seem to open up adjacent to the input field, but rather in the top left corner of my page. Perhaps this has to do with nesting inside react-navigation screens? I'll test further soon and see if I can isolate the cause.
  2. When using an "outlined" input type, the content of the input is flush with the left of the input field.
  3. When using the "dense" prop, the caret isn't centered in the input field (it's a bit high).
  4. When the list is open, an initial tap on the list is required, which closes the keyboard first, before any interactions can take place.

My current implementation is pretty plain:

<Autocomplete
  onChange={() => null}
  value={null}
  options={[
    { value: 1, label: 'test' },
    { value: 2, label: 'Pjotr Versjuurre' },
    { value: 3, label: 'Bjart von Klef' },
    { value: 4, label: 'Riesjard Lindhoe' },
  ]}
  inputProps={{
    placeholder: 'Select user',
    mode: 'outlined',
    dense: true,
  }}
/>

Sorry this isn't the most well-formatted bug report. It's very late here and I need to sleep; just wanted to share my findings before I turned in.

Best of luck with this project!

Expo

Does it work with expo? i couldn't run it

Wish to auto open dropdown if on typing or input text focusing

Hi, thanks for making this amazing stuff. Actually i'm working on react-native-paper and i'm like using react-native-paper-autocomplete in my project.

So just wish to auto open dropdown if on typing or input text focusing as my picture below.

WhatsApp Image 2023-01-13 at 13 52 02

Thanks!

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.