fix: DetailPanel above PlayerPanel , FeaturedBrandsPanel

This commit is contained in:
2025-12-15 12:38:20 +09:00
parent f514e2468c
commit ac5414a5fe
6 changed files with 91 additions and 35 deletions

View File

@@ -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;