I am using the below code to set focus on the button in the shadow element. But the focus is not set. Can somebody help me to understand the issue and provide me a solution?