@playkit-js/playkit-js-ui 0.83.9 → 0.83.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,6 +113,7 @@ export const withKeyboardA11y = (WrappedComponent): any => {
113
113
  */
114
114
  componentWillUnmount(): void {
115
115
  if (this._previouslyActiveElement && document.contains(this._previouslyActiveElement) && !this.isOverlayOpen) {
116
+ (this._previouslyActiveElement as HTMLElement).dataset.kalturaFocusRestore = 'true';
116
117
  focusElement(this._previouslyActiveElement);
117
118
  } else if (this._previouslyActiveElement?.classList.contains('playkit-dropdown-item_kw')) {
118
119
  focusElement(this._morePluginButton);