# Bug - OnTouchEnd PopUp Action with Modal and Background Dismissible doesn't open

**URL:** <https://forum.inductiveautomation.com/t/bug-ontouchend-popup-action-with-modal-and-background-dismissible-doesnt-open/35920>\
**Category:** Ignition Early Access\
**Created:** [June 23, 2020, 3:19pm UTC](https://forum.inductiveautomation.com/t/bug-ontouchend-popup-action-with-modal-and-background-dismissible-doesnt-open/35920 "2020-06-23T15:19:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dkylep](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@dkylep](https://forum.inductiveautomation.com/u/dkylep)\
**Post date:** [June 26, 2020, 4:26pm UTC](https://forum.inductiveautomation.com/t/bug-ontouchend-popup-action-with-modal-and-background-dismissible-doesnt-open/35920/2 "2020-06-26T16:26:39Z")

</div>

Just a thought....  
The browser could be firing the onClick or possibly the mouseUp event after the onTouchEnd event.

I've been having some issues with touch/click events for some time.

> [@\[BUG-16346\] Button: onMouseDown event triggers on a Touch Event](http://forum.inductiveautomation.com/t/bug-16346-button-onmousedown-event-triggers-on-a-touch-event/33988):
>
> My Perspective project (currently stable 8.0.11 (b2020041411)) will primarily use Windows 10 tablets (Microsoft Surface Pro) with touch screens but there is a need for it to be compatible with desktop PCs (mouse clicks) too. Both will use chrome browsers. I need a button on a view to complete the same script whether it is touched or clicked. I quickly realized that I needed to use the onTouch[something] and onMouse[something] events to distinguish mouse clicks and screen touches on the same …

Maybe pointer events could help you too?

> **[Add Pointer Events into perspective | Ignition Features and Ideas | Inductive...](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/add-pointer-events-into-perspective)**
>
> Pointer events are DOM events that are fired for a pointing device. They are designed to create a single DOM event model to handle pointing input devices such

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-ontouchend-popup-action-with-modal-and-background-dismissible-doesnt-open/35920)._
