# Trigger pop-over from coded component without position 'infer from event'

**URL:** <https://community.appfarm.io/t/trigger-pop-over-from-coded-component-without-position-infer-from-event/439>\
**Category:** Feature requests\
**Created:** [April 21, 2023, 12:30pm UTC](https://community.appfarm.io/t/trigger-pop-over-from-coded-component-without-position-infer-from-event/439 "2023-04-21T12:30:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lequeuxa](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/lequeuxa/32/128_2.png) [@lequeuxa](https://community.appfarm.io/u/lequeuxa)\
**Post date:** [April 21, 2023, 12:30pm UTC](https://community.appfarm.io/t/trigger-pop-over-from-coded-component-without-position-infer-from-event/439/1 "2023-04-21T12:30:25Z")

</div>

Hi,

I am triggering a pop-over from a coded component through an action, it works when I specify position “custom” with position top and left but not when I set position “infer from the event”.

Any guess why it happens? Thanks

Solution name: Jerouville  
Action name: editLaneBreak: Action

---

<div class="post-metadata">

**Author:** ![nejrabrc](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/nejrabrc/32/131_2.png) [@nejrabrc](https://community.appfarm.io/u/nejrabrc)\
**Post date:** [April 24, 2023, 9:54am UTC](https://community.appfarm.io/t/trigger-pop-over-from-coded-component-without-position-infer-from-event/439/2 "2023-04-24T09:54:49Z")

</div>

Hello @lequeuxa 🙂

Have you connected the mentioned action inside the Coded component, under “Actions”? I cannot seem to find it, I see only editResource. If you could send a screenshot or the name of the view it is used in, so that I can look into it more? 😃

---

<div class="post-metadata">

**Author:** ![lequeuxa](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/lequeuxa/32/128_2.png) [@lequeuxa](https://community.appfarm.io/u/lequeuxa)\
**Post date:** [April 24, 2023, 11:34am UTC](https://community.appfarm.io/t/trigger-pop-over-from-coded-component-without-position-infer-from-event/439/3 "2023-04-24T11:34:16Z")

</div>

Hi Nejra,

Thanks for your message 🙂  
I had to find a solution rapidly so I did it differently through the coded component and deleted the action.  
I don’t know if you wish to reproduce this in another app or something but it is not blocking anymore (but did not manage to find a way to make it work without specifying a custom position)

Antoine

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [April 24, 2023, 1:43pm UTC](https://community.appfarm.io/t/trigger-pop-over-from-coded-component-without-position-infer-from-event/439/4 "2023-04-24T13:43:51Z")

</div>

Hi!

I believe Appfarm does not know “where in the UI” the action is triggered from, when it’s a coded component code that triggers the action with “Open Popover” (with infer from event positioning).

We’ve registered a challenge on it, but I’m not sure if there is an easy solution to it.
