ADA(ADA-1451): Close Video Info modal dialog focus management #958
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Changes
Issue:
if user open the info plugin from more plugin, when press enter on x the focus is lost and doesn't move to the more plugin
Root cause:
The previous element is the dropdown info div from the more dropdown and not the the more button
Fix:
Create a reference of more plugin (we set it from the info plugin) and in case the previous element is dropdown item (of the more), move the focus to more plugin.
part of:
kaltura/playkit-js-ui-managers#67
kaltura/playkit-js-info#106
Resolves ADA-1451