Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Autocomplete.js: Position property in configuration object not used #1217

Open
marcoscaceres26 opened this issue Nov 26, 2014 · 0 comments
Open
Labels

Comments

@marcoscaceres26
Copy link

The position property value is not being passed to the positioner (position is always set to 'absolute' despite being set as 'fixed' in the configuration object).

As a temporal fix is possible to use in the implementation:

var autocomplete = new ch.Autocomplete(settings.$searchInput, { 'position': 'fixed' });

autocomplete.on('ready', function (e){
this._popover.$container.css('position', this._options.position);
});

@hmammana hmammana added the bug label Feb 4, 2015
@hmammana hmammana added this to the v2.0.0 milestone Feb 4, 2015
@battaglr battaglr removed this from the v2.0.0 milestone Mar 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants