# \[Feature-615\] onKeyPress event doesn't work in root container

**URL:** <https://forum.inductiveautomation.com/t/feature-615-onkeypress-event-doesnt-work-in-root-container/45606>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [April 14, 2021, 6:55pm UTC](https://forum.inductiveautomation.com/t/feature-615-onkeypress-event-doesnt-work-in-root-container/45606 "2021-04-14T18:55:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 14, 2021, 7:53pm UTC](https://forum.inductiveautomation.com/t/feature-615-onkeypress-event-doesnt-work-in-root-container/45606/3 "2021-04-14T19:53:17Z")

</div>

Is it also possible for you to add browser zoom in and out as an event too?  
or ctrl + muse scroll event?  
I ask this because if I can get those event by using css3 zoom property on root container I can simply create cluttering decluttering effect.  
Of course having new containeer that act like map compoenent is much better but this is better than nothing for now.  
 ![d0959248bd67ce1e048b5f91bae33d4d1c134a9c_2_690x456](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/9/697a7dbb943851c75d9a911f16756da7a64ecb65.gif)

> [@Trick to cluttering in Perspective](http://forum.inductiveautomation.com/t/trick-to-cluttering-in-perspective/35271):
>
> Hi, I’d like to share a trick to implement some sort of simple cluttering effect in Perspective. As it shown in above the root container of your view should has a zoom property under style. The value of this property can be adjust by a slider from 1(100%) to 0.6(60%). This cause every things only in this view zoom in/out.(Not whole page like browser zoom) As we know the current user zoom level now, we can simply use it as condition of visibility of any object in the view. if(…

---

_[View the full topic](https://forum.inductiveautomation.com/t/feature-615-onkeypress-event-doesnt-work-in-root-container/45606)._
