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

New features and bug fixes #76

Merged
merged 2 commits into from
Jan 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 1.9.0 (2015-01-13)

Features:

* improved support for other scripts that utilize the key events so as to prevent conflicts from happening
* added support `drop` events, which are handle just like `paste` events (#73)
* added support for tabbing through fields using the left and right arrow keys (#74)
* auto tabbing support added to several input types: tel, number, email, url and search (#75)

Bug fixes:

* fixed a pasting issue that resulted in a target's value being cleared when no additional characters were being pasted (#72)
* fixed a pasting issue in IE11 where backspacing into a previous element caused the cursor to be placed at the front of the element's value instead of at the end

## 1.8.1 (2014-11-01)

Features:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,9 @@ Autotab has several filter formats available, all passed into the `format` key.

## Known Issues

Due to security measures placed in iOS, Autotab cannot achieve auto tabbing functionality when hitting a field's character limit. The problem stems from the `focus` event not being triggered manually. As a workaround, Autotab works with iOS by keeping the keyboard open, allowing you to navigate using the arrow shortcuts.

* Due to security measures placed in iOS, Autotab cannot achieve auto tabbing functionality when hitting a field's character limit. The problem stems from the `focus` event not being triggered manually. As a workaround, Autotab works with iOS by keeping the keyboard open, allowing you to navigate using the arrow shortcuts.
* Any script that uses the `keydown` and `keypress` events may conflict with Autotab, or vice versa. As of 1.9.0, Autotab uses event extensions in an attempt to prevent this from happening.
* With limitations of `selection` in most text field types, only `text`, `password` and `textarea` fields support auto tabbing and filtering, while `tel`, `number`, `email`, `url` and `search` support auto tabbing only.

## Minify

Expand All @@ -509,6 +510,6 @@ You can also reach out to me on twitter: [@mathachew](http://www.twitter.com/mat

## Copyright and license

© 2014 Matthew Miller
© 2015 Matthew Miller

Licensed under the MIT licensing: http://www.opensource.org/licenses/mit-license.php
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.autotab",
"version": "1.8.1",
"version": "1.9.0",
"description": "A jQuery plugin that provides auto-tabbing and filtering on text fields in a form.",
"main": [ "./js/jquery.autotab.min.js" ],
"homepage": "https://github.com/Mathachew/jquery-autotab",
Expand Down
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,13 @@ <h1>jQuery Autotab Demo</h1>
<br>
Email: <input type="email" id="all5">
<br>
Number: <input type="number" id="all6">
Number: <input type="number" id="all6" maxlength="3">
<br>
Range: <input type="range" id="all7">
Tel: <input type="number" id="all7" maxlength="10">
<br>
URL: <input type="url" id="all8">
Range: <input type="range" id="all8">
<br>
URL: <input type="url" id="all9">
</div>
<pre>
// Note: This call is not necessary as 'all' is the default format
Expand Down
Loading