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

Support for absolute left/right placement #96

Merged
merged 3 commits into from
Aug 6, 2014
Merged

Conversation

ericktai
Copy link
Contributor

I added new options for the placement setting: absleft and absright. It positions the dropdown absolutely to the very left or the very right. This helps with narrow UI (mobile) support in a "dumb" fashion.

placement: 'absleft'

image

placement: 'absright'

image

You can mix and match with top

placement: 'top|absleft'

image

placement: 'top|absright' ( placement: 'topabsright' is also acceptable)

image

@catherinek's solution dynamic placement is handy, but unfortunately is still susceptible to cutoffs, which is why I opted for absolute positioning.

image

changed `appentTo` to `appendTo`
@yuku
Copy link
Owner

yuku commented Aug 6, 2014

Hi @ericktai thanks for sending the patch.
It looks good to me. Thanks

yuku added a commit that referenced this pull request Aug 6, 2014
Support for absolute left/right placement
@yuku yuku merged commit e83de22 into yuku:master Aug 6, 2014
@yuku yuku added the DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED) label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEPRECATED jquery-textcomplete Issues associated to jquery-textcomplete (was DEPRECATED) enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants