René's URL Explorer Experiment


Title: Version 1.2.0 by cyfung1031 · Pull Request #95 · Pixabay/JavaScript-autoComplete · GitHub

Open Graph Title: Version 1.2.0 by cyfung1031 · Pull Request #95 · Pixabay/JavaScript-autoComplete

X Title: Version 1.2.0 by cyfung1031 · Pull Request #95 · Pixabay/JavaScript-autoComplete

Description: Version 1.2.0 Use a more efficient CSS design to avoid unnecessary style (position & sizing) computation in JavaScript. The minified js code is smaller than both 1.0.4 and 1.1.0 https://github.com/culefa/JavaScript-autoComplete/tree/1.2.0 I don't think the author will review and approve any PR in this repo, feel free to use this branch by yourself The autocomplete is no longer attached to body. It is attached in a pivot element before the input field. By using CSS, it can fully automatically locate with the dynamic position of the input field. (Sizing is not CSS automatically, but it can be updated via JS) For upgrade from 1.0.4 or 1.1.0, pay attention to the change of CSS and the related DOM structure. Issues: close #36 close #45 close #56 Override PRs (those PRs are no longer valid as implementation changes with issue fixing): #33 #46 New DOM Structure Compatible with original layout ...

...
...
...
...
...
... Dynamic Positioning Layout
...
...
...
...
...
Link: Demo https://raw.githack.com/culefa/JavaScript-autoComplete/1.2.0/demo.html JS https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.2.0/auto-complete.js https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.2.0/auto-complete.min.js CSS https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.2.0/auto-complete.css https://cdn.jsdelivr.net/gh/culefa/JavaScript-autoComplete@1.2.0/auto-complete.min.css Browser Requirements - Earlier 2015+ Chrome 41+, Edge 15+, Safari 9+, Firefox 35+, Opera 28+, all mobile browsers Breaking Changes (1.2.0) Dynamic Positioning (CSS and layout revised) Related issue: #66 Related issue: #75 Added onRender which is exposed to public Related issue: #47 Added clickToShow which is to determine if the dropdown should be shown for user's clicking on input field. Added closeOnTap which is to determine if the dropdown should be closed for user's tapping on an autocomplete item. Can move the dropdown with "position=top", see demo. Related issue: #90 Other Changes (1.2.0) Changed mousedown to pointerdown with left click detection Redesign event mechanism for blur, focus, and mouse (pointer) events Related Issue: #9 Related PR: #10 Added destroyAutoComplete (element method) for removing references for the specific input field. Related Issue: #30 Added isContentNotEmpty (element method) for checking the input is empty or not. Added input event handler to detect the actual change of input value instead of accepting functional keys like ctrl / shift / alt as committing the temporary change to last_val. Use .closest in live() for shorter coding. 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: #5 #8 Related PR #87 #15 #28 #37 #38 #40 Related issue #62 #44 #49 #52 #77 #86 #93 Issues: close #22 close #23 close #43 close #51 close #63 close #84 close #92 Also fixed some issues related to demo.html, README, etc. Added an example using fetch API; for issue #61, #65, #76 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

Open Graph Description: Version 1.2.0 Use a more efficient CSS design to avoid unnecessary style (position & sizing) computation in JavaScript. The minified js code is smaller than both 1.0.4 and 1.1.0 https://githu...

X Description: Version 1.2.0 Use a more efficient CSS design to avoid unnecessary style (position & sizing) computation in JavaScript. The minified js code is smaller than both 1.0.4 and 1.1.0 https://g...

Opengraph URL: https://github.com/Pixabay/JavaScript-autoComplete/pull/95

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:ed43b485-6998-817c-cf93-93fc995dc637
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idD746:1D84DC:75D969:99B6F0:698FB614
html-safe-nonce77acd4248f327a3e7b3823e01bfa8f4e1d31c99b5135438da10193551ffeb39f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzQ2OjFEODREQzo3NUQ5Njk6OTlCNkYwOjY5OEZCNjE0IiwidmlzaXRvcl9pZCI6IjIzMjMxNzMwOTY2NDk4OTc0OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf4174a7273c348a1034f735fc68ab6bdc0a598a17ddeef0bdb2fa266311fb923
hovercard-subject-tagpull_request:1545932685
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Pixabay/JavaScript-autoComplete/pull/95/checks
twitter:imagehttps://avatars.githubusercontent.com/u/44498510?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/44498510?s=400&v=4
og:image:altVersion 1.2.0 Use a more efficient CSS design to avoid unnecessary style (position & sizing) computation in JavaScript. The minified js code is smaller than both 1.0.4 and 1.1.0 https://githu...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None6df359c0989bb4eb7656e0047ab7a57a6657880db88f5a202f4e51ddbc3dfce8
turbo-cache-controlno-preview
go-importgithub.com/Pixabay/JavaScript-autoComplete git https://github.com/Pixabay/JavaScript-autoComplete.git
octolytics-dimension-user_id7993082
octolytics-dimension-user_loginPixabay
octolytics-dimension-repository_id34940608
octolytics-dimension-repository_nwoPixabay/JavaScript-autoComplete
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id34940608
octolytics-dimension-repository_network_root_nwoPixabay/JavaScript-autoComplete
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released09a7639fca70dcd33f2b127cabd422a73b10aef
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPixabay%2FJavaScript-autoComplete%2Fpull%2F95%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPixabay%2FJavaScript-autoComplete%2Fpull%2F95%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=Pixabay%2FJavaScript-autoComplete
Reloadhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
Reloadhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
Reloadhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
Pixabay https://patch-diff.githubusercontent.com/Pixabay
JavaScript-autoCompletehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FPixabay%2FJavaScript-autoComplete
Fork 183 https://patch-diff.githubusercontent.com/login?return_to=%2FPixabay%2FJavaScript-autoComplete
Star 758 https://patch-diff.githubusercontent.com/login?return_to=%2FPixabay%2FJavaScript-autoComplete
Code https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete
Issues 43 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/issues
Pull requests 23 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pulls
Actions https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/actions
Projects 0 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/projects
Wiki https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/wiki
Security 0 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/security
Insights https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pulse
Code https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete
Issues https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/issues
Pull requests https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pulls
Actions https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/actions
Projects https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/projects
Wiki https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/wiki
Security https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/security
Insights https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FPixabay%2FJavaScript-autoComplete%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FPixabay%2FJavaScript-autoComplete%2Fissues%2Fnew%2Fchoose
cyfung1031https://patch-diff.githubusercontent.com/cyfung1031
Pixabay:masterhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/tree/master
culefa:1.2.0https://patch-diff.githubusercontent.com/culefa/JavaScript-autoComplete/tree/1.2.0
Conversation 0 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95
Commits 2 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/commits
Checks 0 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
Files changed https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
Version 1.2.0 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/checks
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.