# Give focus to a dock without having to click on it

**URL:** <https://forum.inductiveautomation.com/t/give-focus-to-a-dock-without-having-to-click-on-it/89072>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [April 18, 2024, 7:00pm UTC](https://forum.inductiveautomation.com/t/give-focus-to-a-dock-without-having-to-click-on-it/89072 "2024-04-18T19:00:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [April 18, 2024, 11:58pm UTC](https://forum.inductiveautomation.com/t/give-focus-to-a-dock-without-having-to-click-on-it/89072/3 "2024-04-18T23:58:42Z")

</div>

I have the same issue, I'm on 8.1.39.

Example, north dock has a dropdown for themes. West deck is used for navigation. If the users does something in the west dock, the only way they can use the dropdown in the north dock is to first click the north dock to get focus, otherwise the dropdown "falls" behind.

Note: for me, this is just a test application, so no big deal, but I could see a need down the road and would be nice to at least have a workaround. I couldn't find a way to grab focus programmatically.

Normal (with focus):  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/f/3fdef8cfe82583e0935aadde9eeb22405ade4b13.png)

Abnormal (no focus):  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/2/f2fb84c2ee92b953ef3b3c8dd6f090d336c205c5.png)

I think this post is similar?

> [@Z-index of docked views changing while in use](https://forum.inductiveautomation.com/t/z-index-of-docked-views-changing-while-in-use/63713):
>
> Hello, I am experimenting with themes and I am facing a slightly annoying issue with docked views. When having two docks in the shared page settings, e.g. a top one and a left one, with priority set for the top one (top-bottom in the perspective properties). It works well, except that the z-index of the docked views seems to change slightly when the left one is open, pushing it over the top one until the top dock is clicked, which once again brings it at an higher z-index. The result is that t…

---

_[View the full topic](https://forum.inductiveautomation.com/t/give-focus-to-a-dock-without-having-to-click-on-it/89072)._
