-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
<target>lightning__HomePage</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
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working