Webform Dialog Modal triggered with a link doesn't work on touch device

Created on 14 March 2024, about 1 year ago

Problem/Motivation

When adding a link to a webform dialog the link is not working on a touch device.

Steps to reproduce

<a href="/en/form/testform?source_entity_type=ENTITY_TYPE&amp;source_entity_id=ENTITY_ID" class="webform-dialog" data-dialog-options="{&quot;width&quot;:800}">Open Webform Dialog</a>

Proposed resolution

Add touchstart event in webform.dialog.js @ line 83. Change from click to touchstart click

πŸ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria roromedia Linz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024