fix: DetailPanel above PlayerPanel , FeaturedBrandsPanel
This commit is contained in:
@@ -325,6 +325,12 @@ export const finishVideoPreview = () => (dispatch, getState) => {
|
||||
const panels = getState().panels.panels;
|
||||
const topPanel = panels[panels.length - 1];
|
||||
if (topPanel && topPanel.name === panel_names.PLAYER_PANEL && topPanel.panelInfo.modal) {
|
||||
console.log('[PANEL-TRACE] finishVideoPreview: popping modal player', {
|
||||
topPanelName: topPanel.name,
|
||||
modal: topPanel.panelInfo.modal,
|
||||
stack: panels.map((p) => p.name),
|
||||
panelInfo: topPanel.panelInfo,
|
||||
});
|
||||
if (startVideoFocusTimer) {
|
||||
clearTimeout(startVideoFocusTimer);
|
||||
startVideoFocusTimer = null;
|
||||
|
||||
Reference in New Issue
Block a user