LWC Workspace API - focus tab does not work when component on homepage/menu page #998
Open
1 task done
Labels
bug
Something isn't working
Summary
When a component is added to a homepage, it will not be able to change focus using focusTab to navigate to another tab.
Salesforce Org Type
Sandbox
Steps To Reproduce
Deploy this component from lwc recipies - https://github.com/trailheadapps/lwc-recipes/tree/main/force-app/main/default/lwc/workspaceAPIFocusTab
Adjust metadata to have extra target:
In Service Console, edit page and add the component to the page.
Save
Return to home page
Refresh the page
Click the next tab button - nothing happens
If you click to a tab and back to home page the button will work as expected.
Current Behavior
The focusTab method does not work when the starting point is the homepage/menu item page.
Expected Behavior
The focusTab method should work when the starting point is the homepage/menu item page.
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: