# Preventing bubble opening a new tab when clicking on a link in a web app in iOS

**URL:** <https://forum.bubble.io/t/preventing-bubble-opening-a-new-tab-when-clicking-on-a-link-in-a-web-app-in-ios/273245>\
**Category:** Mobile\
**Created:** [July 19, 2023, 7:39am UTC](https://forum.bubble.io/t/preventing-bubble-opening-a-new-tab-when-clicking-on-a-link-in-a-web-app-in-ios/273245 "2023-07-19T07:39:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon41570847](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@anon41570847](https://forum.bubble.io/u/anon41570847)\
**Post date:** [July 19, 2023, 7:39am UTC](https://forum.bubble.io/t/preventing-bubble-opening-a-new-tab-when-clicking-on-a-link-in-a-web-app-in-ios/273245/1 "2023-07-19T07:39:46Z")

</div>

Hi, I’m working on a project which is intended to be used as a web app on mobile devices. The index page is working perfectly, displaying its content in full-screen mode. My problem is that clicking on any of the links to individual content pages opens them in a new tab on iPhones with a title bar and done button at the top of the screen and toolbar at the bottom, neither of which are wanted. I would know how to prevent this happening had the links simply been \<a href\> html tags by creating an onClick listener and preventing the default action, but Bubble creates onClick event listeners to open links and I’m not certainly that I have the access to modify those. Does anyone have any suggestions how I should proceed?
