Vue.js Focus Lock Component


The Vue.js Focus Lock Component got your focus and will not let him out.

This is a small, but very useful for:

  • Modal dialogs. You can not leave it with “Tab”, ie tab-out.
  • Focused tasks. It will always bring you back.


Vue.js Focus Lock Component


v2.0.0 (12/19/2021)

  • Use vue-demi to support Vue 2 and Vue 3

v1.4.1 (02/21/2021)

  • Made the “invisible divs” aria hidden

Download Details:

Author: theKashey

Live Demo:

Download Link:

Official Website:

Install & Download:

# Yarn
$ yarn add vue-focus-lock

$ npm install vue-focus-lock --save

You Might Be Interested In:

Add Comment