
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
touch-input-nav
Advanced tools
Scopes touch-web tabbed input navigation to input elements inside the same form
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Scopes touch-web tabbed input navigation to input elements inside the same form
Video made using SimFinger
Download a zip of the latest release which includes both minfied and un-minified versions.
bower install touch-input-nav
npm install --save-dev touch-input-nav
Note: this module is dependent on jQuery.
This module will add a global listener for the focus
event on all input, select, and textarea elements and then when a focus event occurs, it will disable all other input elements that are not inside the focused element's parent form
element. It applies a class on the disabled elements so that they appear enabled in case they are visible within the viewport. A user can still tap on these disabled
elements, just not tab to them as they are not a part of the same form.
// no module loader
window.touchInputNav();
// requirejs
define(['touch-input-nav'], function (touchInputNav) {
touchInputNav();
});
// browserify
require('touch-input-nav')();
Type: string
A class to allow for custom styling of the disabled state. This can be used to override how the disabled state is presented for form input elements outside of the current form scope.
Note: all other browsers will have no input field disabling applied.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.