Niche mobile web development question

In #Friendica we have a couple links which click event is captured by a listener.

On desktop browsers, this works as expected and the underlying href attribute is ignored (unless clicked with the middle mouse button, which is expected).

On the #iOS #Safari app, this also works as expected. However, when I add Friendica as a home screen app, a click on these links triggers both the event listener and navigates to the href URL.

Does anyone know why web views behave differently and/or how to prevent the double action specifically in this context?

Please reshare/boost for reach!

#WebDevelopment #MobileWeb

1

There are no comments yet.