Git Product home page Git Product logo

aceautocompletebar's People

Contributors

acerbetti avatar akhileshn avatar loganathanb avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aceautocompletebar's Issues

minimumCharactersToTrigger

Hi

I try to set the "minimumCharactersToTrigger" to zero, to have all the suggestion when keyboard appear, doesn't work.

(by the way, nice work!)

Autocomplete bar makes UIKeyboardDidShowNotification to report wrong keyboard size

To begin with thanks a lot for AceAutocompleteBar.

I have an issue with keyboard notifications. (IOS 7.1 simulator)

When keyboard is shown from a textfield which has autocompletebar the keyboard notifications report wrong keyboard height and origin.y

I noticed that
keyboard height reported = real keyboard height + autocompletebar height

When autocompletebar code is removed from textfield keyboard notifications are ok.

The problem with this behaviour is that I cannot write code to scroll the main view in order for the textfield to avoid being hidden by the keyboard

How to reproduce:

  1. in viewDidLoad of ACEViewController add the following:
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWasShown:) name:UIKeyboardDidShowNotification object:nil];
  2. add the following method in ACEViewController
  • (void)keyboardWasShown:(NSNotification *)aNotification {
    NSDictionary *info = [aNotification userInfo];
    CGRect keyboardRect = [[info objectForKey:UIKeyboardFrameEndUserInfoKey] CGRectValue];
    NSLog(@"keyboard: height=%f origin.y=%f", keyboardRect.size.height, keyboardRect.origin.y);
    }

3.Launch the demo and in the logs you can see for example that keyboard height =260

  1. If you comment out setAutocompleteWithDataSource method calls on textfields then keyboard height reported = 216

thanks in advance for your help

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.