Skip to content

Commit

Permalink
v9.0.2 => Release Notes for details
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekRaafat committed Apr 16, 2021
1 parent 8c195d4 commit cb58a0d
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/js/autoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@
generateList(this, dataFeedback, results);
navigate(this, dataFeedback);
eventEmitter(this.inputField, dataFeedback, "open");
document.addEventListener("focusout", function () {
document.addEventListener("click", function () {
return closeList(_this);
});
}
Expand Down
Binary file modified dist/js/autoComplete.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/js/autoComplete.min.js

Large diffs are not rendered by default.

Binary file modified dist/js/autoComplete.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h4>mode</h4>
</div>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].1/dist/js/autoComplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].2/dist/js/autoComplete.min.js"></script>
<script src="./js/index.js"></script>
</body>

Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
mustache: {
data: ["../package.json", {
minVersion: "9.0",
version: "9.0.1"
version: "9.0.2"
}]
}
}
Expand All @@ -206,7 +206,7 @@
<script src="//unpkg.com/docsify-copy-code"></script>
<script src="//cdn.jsdelivr.net/npm/codeblock-iframe@latest/dist/index.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-codeblock-iframe@latest/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].1/dist/js/autoComplete.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/[email protected].2/dist/js/autoComplete.min.js"></script>
</body>

</html>
5 changes: 4 additions & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ For more information on semantic versioning, please visit <http://semver.org/>.

***

### v9.0.1 ✨
### v9.0.2 ✨
- 🔧 Fixed: Unexpected behavior `onClick` (Thanks 👍 @iNalgiev) #205

### v9.0.1
- 🔧 Fixed: `resultItem.idName` issue
- 🔝 Updated: [`Tab`](https://adamsilver.io/blog/building-an-accessible-autocomplete-control/#composite-controls-should-have-a-single-tab-stop) button behavior (Thanks 👍 @ronmichael @codyjames) #175 #202

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tarekraafat/autocomplete.js",
"version": "9.0.1",
"version": "9.0.2",
"description": "Simple autocomplete pure vanilla Javascript library.",
"keywords": [
"simple",
Expand Down
2 changes: 1 addition & 1 deletion src/autoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class autoComplete {
* and closes list if clicked outside the list and inputField
* @listens {click} Listens to all `click` events on the document
**/
document.addEventListener("focusout", () => closeList(this));
document.addEventListener("click", () => closeList(this));
}

async dataStore() {
Expand Down

0 comments on commit cb58a0d

Please sign in to comment.