Currently if you have multiple tabs, switching to other tab does not automatically focus on the ace editor (used for query). Though the editor itself has a caret indicator saying it's focused on. So it is kind of confusing.
I checked the code and found that there is a autoFocus={true} property set on the react-ace, but it's not working properly when switching tab.
Screenshots
Notice the caret at the end of the select statement
Problem
Currently if you have multiple tabs, switching to other tab does not automatically focus on the ace editor (used for query). Though the editor itself has a caret indicator saying it's focused on. So it is kind of confusing.
I checked the code and found that there is a
autoFocus={true}
property set on the react-ace, but it's not working properly when switching tab.Screenshots
Notice the caret at the end of the select statement![image](https://user-images.githubusercontent.com/3792401/150440438-1b3f83ae-8843-4c4f-9927-15b51490e393.png)