# Inline Frame double click

**URL:** <https://forum.inductiveautomation.com/t/inline-frame-double-click/111874>\
**Category:** Ignition\
**Tags:** perspective, webdev\
**Created:** [November 2, 2025, 11:12am UTC](https://forum.inductiveautomation.com/t/inline-frame-double-click/111874 "2025-11-02T11:12:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul.M](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@Paul.M](https://forum.inductiveautomation.com/u/Paul.M)\
**Post date:** [November 2, 2025, 11:12am UTC](https://forum.inductiveautomation.com/t/inline-frame-double-click/111874/1 "2025-11-02T11:12:48Z")

</div>

**Hello,**

I’m using an Inline Frame component in my Perspective page, and I’d like to trigger an event when the frame is double-clicked. However, it seems that click events (including double-click) don’t work on the Inline Frame.

Mouse events such as _onMouseEnter_, _onMouseLeave_, _onMouseOver_, etc. work fine — but not _onClick_ or _onDoubleClick_.

Has anyone found a workaround for this issue?

I was thinking to send a message handler from the webdev script from inline Frame…but it’s a little overengineering

Thanks,

Paul

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 2, 2025, 2:55pm UTC](https://forum.inductiveautomation.com/t/inline-frame-double-click/111874/2 "2025-11-02T14:55:56Z")

</div>

Wouldn't you expect the iFrame to pass click actions straight through to the embedded page?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 2, 2025, 3:03pm UTC](https://forum.inductiveautomation.com/t/inline-frame-double-click/111874/3 "2025-11-02T15:03:42Z")

</div>

> [@Paul.M](#):
>
> Has anyone found a workaround for this issue?

Probably not going to be possible. IFrames are quite deliberately isolated from their containing page for security reasons. I'm kinda surprised the MouseOver works.

---

<div class="post-metadata">

**Author:** ![Samuel\_Sueur](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Samuel\_Sueur](https://forum.inductiveautomation.com/u/Samuel_Sueur)\
**Post date:** [November 2, 2025, 5:29pm UTC](https://forum.inductiveautomation.com/t/inline-frame-double-click/111874/4 "2025-11-02T17:29:02Z")

</div>

Kind of a weird trick but if you do not want to actually interact with the inline frame, you could position a label on top of your inline frame (play with position: absolute if you’re using a flex container) and use the onDoubleClick event of the label ?

You didn’t give us much information on what you are trying to achieve, so my idea might be totally useless to you, as my method won’t let you interact with the inline frame anymore.

---

<div class="post-metadata">

**Author:** ![Paul.M](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@Paul.M](https://forum.inductiveautomation.com/u/Paul.M)\
**Post date:** [November 3, 2025, 11:55am UTC](https://forum.inductiveautomation.com/t/inline-frame-double-click/111874/5 "2025-11-03T11:55:15Z")

</div>

It’s perfect. I added a label overlay on my iFrame, it’s work. Only inconvenient it’s when someone will need that iFrame to have some click actions, for me it’s not the case.

thanks for help 🙂
