I've moved the google translate widget to a separate file. Wasn't able to come up with a reduced test case just yet, but noticed a couple things.
The pop up list of languages is being displayed in an iframe when I click/press Enter on the drop down. The keyboard trap happens only after attempting to select a language for a second time. After selecting a language for the first time the following method is used to hide the iframe:
```
function Q(a, b) {
a.style.display = b ? "" : q
}
```
so the iframe gets `display:none`. I change the code to alter visibility instead of display, e.g. `a.style.visibility = b ? '' : 'hidden'` then the keyboard trap doesn't happen.
So perhaps it has something to do with the fact that the iframe is hidden with `display:none`. I'll continue to investigate this and try to come up with a reduced case
Bug 1596960 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I've moved the google translate widget to a separate file. Wasn't able to come up with a reduced test case just yet, but noticed a couple things.
The pop up list of languages is being displayed in an iframe when I click/press Enter on the drop down. The keyboard trap happens only after attempting to select a language for the second time. After selecting a language for the first time the following method is used to hide the iframe:
```
function Q(a, b) {
a.style.display = b ? "" : q
}
```
so the iframe gets `display:none`. I change the code to alter visibility instead of display, e.g. `a.style.visibility = b ? '' : 'hidden'` then the keyboard trap doesn't happen.
So perhaps it has something to do with the fact that the iframe is hidden with `display:none`. I'll continue to investigate this and try to come up with a reduced case
I've moved the google translate widget to a separate file. Wasn't able to come up with a reduced test case just yet, but noticed a couple things.
The pop up list of languages is being displayed in an iframe when I click/press Enter on the drop down. The keyboard trap happens only after attempting to select a language for the second time. After selecting a language for the first time the following method is used to hide the iframe:
```
function Q(a, b) {
a.style.display = b ? "" : q
}
```
so the iframe gets `display:none`. If I change the code to alter visibility instead of display, e.g. `a.style.visibility = b ? '' : 'hidden'` then the keyboard trap doesn't happen.
So perhaps it has something to do with the fact that the iframe is hidden with `display:none`. I'll continue to investigate this and try to come up with a reduced case