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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:94f95f01-8b21-de5e-939a-a90618b13094
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE08A:1C6C86:630FAD:8325A6:698F9925
html-safe-nonce37a2bbb58a03093d5951c2ca9cfcdbdedd624375ebe16acbd0f722048b4d8b35
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDhBOjFDNkM4Njo2MzBGQUQ6ODMyNUE2OjY5OEY5OTI1IiwidmlzaXRvcl9pZCI6IjQxMDUxMDUwMDc4MDgzMzY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac353dd39d0b5ec3da252b657fe2c58dbd1b2a75be6d9106a1eea8fc061ddde1dc
hovercard-subject-tagpull_request:1545932685
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Pixabay/JavaScript-autoComplete/pull/95/files
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
None5f47eb8d0aaafbfcb6a8220a40bd81431acf688857c575e6489670c394cfa36f
turbo-cache-controlno-preview
diff-viewunified
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
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release09a8136f6e8f8fd3078d54ce5f8b7adb493d44a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#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%2Ffiles
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%2Ffiles
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%2Ffiles&source=header-repo&source_repo=Pixabay%2FJavaScript-autoComplete
Reloadhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
Reloadhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
Reloadhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
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/files
Version 1.2.0 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
eaa949e Based from 1.1.0 cyfung1031 Oct 6, 2023 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/commits/eaa949e6db9f2eabed614f3f91cb1c8ebd1b5e99
19203f3 1.2.0 cyfung1031 Oct 6, 2023 https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/commits/19203f30f148e2d9d810ece292b987abb157bbe0
Clear filters https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
.gitignore https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
auto-complete.css https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-77c0af18c52f11d9893070882c567dd36cf0181f944f7af8f8a24baa2506a0af
auto-complete.js https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-794debc5bd5decfa6073e1f91751f70e9f5bfd4fbaddeb5a906c15407d9db607
auto-complete.min.js https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-b4f6053f18f194fb237316a5c59c37727e9d3d893140f79aab8db2bb172100cf
bower.json https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-dedb6c21fdaac9cba4da4afde881ffe5c80f80896274dbf7971d312fc6f5207d
demo.html https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-c97623a67214ab2008448268302408c3ae87cf5f790baa4f61831a2dc60307ba
readme.md https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-5a831ea67cf5cf8703b0de46901ab25bd191f56b320053be9332d9a3b0d01d15
.gitignorehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/blob/19203f30f148e2d9d810ece292b987abb157bbe0/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/{{ revealButtonHref }}
auto-complete.csshttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-77c0af18c52f11d9893070882c567dd36cf0181f944f7af8f8a24baa2506a0af
View file https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/blob/19203f30f148e2d9d810ece292b987abb157bbe0/auto-complete.css
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/{{ revealButtonHref }}
auto-complete.jshttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-794debc5bd5decfa6073e1f91751f70e9f5bfd4fbaddeb5a906c15407d9db607
View file https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/blob/19203f30f148e2d9d810ece292b987abb157bbe0/auto-complete.js
Open in desktop https://desktop.github.com
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
auto-complete.min.jshttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-b4f6053f18f194fb237316a5c59c37727e9d3d893140f79aab8db2bb172100cf
View file https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/blob/eda3201210a86f7fcfb7f496f4b2ca419ff423e8/auto-complete.min.js
Open in desktop https://desktop.github.com
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
bower.jsonhttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-dedb6c21fdaac9cba4da4afde881ffe5c80f80896274dbf7971d312fc6f5207d
View file https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/blob/19203f30f148e2d9d810ece292b987abb157bbe0/bower.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files#diff-dedb6c21fdaac9cba4da4afde881ffe5c80f80896274dbf7971d312fc6f5207d
Please reload this pagehttps://patch-diff.githubusercontent.com/Pixabay/JavaScript-autoComplete/pull/95/files
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.