Fix overflow issue on small players with menu open

This commit is contained in:
Sam Potts
2017-11-23 22:32:07 +11:00
parent 61325bbad1
commit f7bf0961cf
8 changed files with 12 additions and 4 deletions

1
src/js/controls.js vendored
View File

@ -767,6 +767,7 @@ const controls = {
if (utils.is.htmlElement(form)) {
form.setAttribute('aria-hidden', !show);
utils.toggleClass(this.elements.container, this.config.classNames.menu.open, show);
if (show) {
form.removeAttribute('tabindex');