# Using domId of a perspective component

**URL:** <https://forum.inductiveautomation.com/t/using-domid-of-a-perspective-component/107284>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 11, 2025, 6:04pm UTC](https://forum.inductiveautomation.com/t/using-domid-of-a-perspective-component/107284 "2025-06-11T18:04:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajay\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Ajay\_Gupta](https://forum.inductiveautomation.com/u/Ajay_Gupta)\
**Post date:** [June 11, 2025, 6:04pm UTC](https://forum.inductiveautomation.com/t/using-domid-of-a-perspective-component/107284/1 "2025-06-11T18:04:51Z")

</div>

Hi,  
I have a text area component in a perspective view. I want the height of the text area to increase rather than introducing a scroll bar when text overflow happens.  
I tried css but I was not able to achieve this.  
So, I thought of using the java script to achieve this. I know every component can have a domId meta property.  
Is it possible to somehow use this domId and write java script for the component to handle the situation that i described above?  
If not, how can I achieve this with only css?

Appreciate any help in this regard.

Thanks,  
Ajay

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 11, 2025, 6:11pm UTC](https://forum.inductiveautomation.com/t/using-domid-of-a-perspective-component/107284/2 "2025-06-11T18:11:58Z")

</div>

I know the urge of making things automatic and dynamic and whatever. I know it's strong and hard to resist.  
But get up, walk for a bit, go enjoy the sun.  
Then, when you come back, enable the `resize` property and let your users deal with it.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/e/7ec2473da006a1be1f35c45670a52dd65fef31e1.png)
