clipboard.js/src
Patrick H. Lauke a55c9ac513 Move focus to trigger instead of simply blur()ing (#419)
blur() results in a loss/reset of keyboard focus, meaning keyboard users usually get thrown right back to the start of the page. Instead, this moves focus back to the trigger (which had the focus when the trigger was activated).
As with the proposed fix in https://github.com/zenorocha/clipboard.js/pull/418 this obviously results in the focus styles (like the default outline, unless suppressed) being applied to the trigger (see the related PR for rationale and future fix using `:focus-ring`)
2017-05-29 16:54:55 -07:00
..
clipboard-action.js Move focus to trigger instead of simply blur()ing (#419) 2017-05-29 16:54:55 -07:00
clipboard.js Container option (#368) 2017-05-29 14:17:26 -07:00