Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Version 1.1.0#94

Open
cyfung1031 wants to merge 1 commit intoPixabay:masterPixabay/JavaScript-autoComplete:masterfrom
culefa:1.1.0culefa/JavaScript-autoComplete:1.1.0Copy head branch name to clipboard
Open

Version 1.1.0#94
cyfung1031 wants to merge 1 commit intoPixabay:masterPixabay/JavaScript-autoComplete:masterfrom
culefa:1.1.0culefa/JavaScript-autoComplete:1.1.0Copy head branch name to clipboard

Conversation

@cyfung1031
Copy link

@cyfung1031 cyfung1031 commented Oct 6, 2023

Version 1.1.0

  • This is mainly for rolling up the previous PRs (mainly for bug fixing), no coding change required to update from 1.0.4

https://github.com/culefa/JavaScript-autoComplete/tree/1.1.0

I don't think the author will review and approve any PR in this repo, feel free to use this branch by yourself

PRs included:

Issues:

Also fixed some issues related to demo.html, README, etc.

Fix for Significant Bugs:

  • Significant Bug Fix 1: val inside setTimeout might have already changed. Refresh the val value.
  • Significant Bug Fix 2: display was not set initially.

No change of any existing usages.

Link:

Demo

https://raw.githack.com/culefa/JavaScript-autoComplete/1.1.0/demo.html

JS

https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.1.0/auto-complete.js
https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.1.0/auto-complete.min.js

CSS

https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.1.0/auto-complete.css
https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.1.0/auto-complete.min.css

Browser Requirements - Late 2014+

  • Chrome 38+, Edge 13+, Safari 8+, Firefox 26+, Opera 25+, all mobile browsers

Breaking Changes (1.1.0)

  • Dropped IE Support

  • renderItem can now accept element in addition to html code

  • added renderItems which is exposed to public

Other major changes (1.1.0)

  • replaced mouseover to mouseenter for better performance

  • modifying classList instead of className

  • Added triggerSC (element method) for update result manually

@cyfung1031 cyfung1031 force-pushed the 1.1.0 branch 8 times, most recently from c8cad5b to 324a927 Compare October 6, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Morty Proxy This is a proxified and sanitized view of the page, visit original site.