dosubot[bot] commented on issue #32311:
URL: https://github.com/apache/superset/issues/32311#issuecomment-2668984518

   <!-- Answer -->
   The issue you're experiencing, where the active tab is correctly set but the 
content displayed defaults to the first tab, might be related to how the 
Superset Embedded SDK handles the restoration of active tab content when using 
permalinks. The SDK retrieves the `permalinkValue` and extracts the 
`activeTabs` from its state to hydrate the dashboard with the correct active 
tab content 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/containers/DashboardPage.tsx)</sup>.
   
   However, there might be a discrepancy in how the content is rendered for the 
active tab. The `Tab` component in the Superset codebase is responsible for 
rendering tab content, and it uses the `DashboardComponent` to render the 
content of each tab 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/gridComponents/Tab.jsx)</sup>.
 If the content is not displaying as expected, it could be due to how the 
`renderTabContent` function is handling the active tab state.
   
   To address this issue, you might want to check if there are any updates or 
patches in newer versions of Superset that address this behavior. Additionally, 
reviewing the implementation of the `Tab` component and the `renderTabContent` 
function might provide insights into potential adjustments needed to ensure the 
correct tab content is displayed.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/3310130c-511f-4ffd-b4d9-119a3518b7da?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to