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 absolute height, scrollbar, pageup, and pagedown #87

Merged
merged 1 commit into from
Aug 6, 2014

Conversation

alan2wong
Copy link
Contributor

When the option object has the new height option set, a scrollbar will be visible if necessary. Scrolling via up, down, pageup, pagedown is supported along with all edge cases (if the selected value being transitioned from is above or below the visible items, or if we are going between the first and last items).

Also fixed an issue with the mouse hover not actually affecting the selected item. This now follows how a standard select tag behaves, although it was not possible to force remove the hover style.

@yuku
Copy link
Owner

yuku commented Jun 9, 2014

Hi @alan2wong
Thank you for sending the patch.
It seems that cfe47a5 is not necessary for this PR. Please rebase to the current master. 😃

…g the drop down to show a scrollbar if necessary. Also added pageup and pagedown functionality.
@alan2wong
Copy link
Contributor Author

Rebased. As a note, in case you were wondering why I used height rather than the number of items as the option, this is so that the list items can be set to any size (rather than requiring a constant height). The scroll code is not dependent on the list items all being the same size.

@yuku
Copy link
Owner

yuku commented Aug 6, 2014

Thanks for rebasing and sorry for late reply. It looks good to me.

yuku added a commit that referenced this pull request Aug 6, 2014
Support absolute height, scrollbar, pageup, and pagedown
@yuku yuku merged commit b940a31 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