joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.78k stars 3.65k forks source link

[Guided tours] Issue with Subform Field Highlighting During Guided Tour Creation #41847

Open stevenoyer opened 1 year ago

stevenoyer commented 1 year ago

Steps to reproduce the issue

We are currently experiencing an issue when creating a guided tour. In an article, we use a custom field of type "subform" which contains multiple fields. When the guided tour is initiated, we proceed through the steps until we reach the "subform" field. Upon clicking the plus (+) button, the subform field block is created correctly. However, the fields within this block are not highlighted during the guided tour, resulting in the user not receiving the necessary guidance.

However, if we save our article at this point after adding a subform using the plus (+) button and then relaunch the guided tour, the fields are properly highlighted. Therefore, we assume that this issue stems from the fact that the JavaScript script does not take into account the HTML code of the new block, preventing it from targeting the subform fields correctly.

System information (as much as possible)

Joomla 4.3.4

Thank you for your assistance.

obuisard commented 1 year ago

Hello Steven @stevenoyer, the guided tours do not take into account elements created 'on the fly' in the interface, only elements that exist at the time a step is shown. I don't have a solution at this time, but we will take that issue into account and see if this is something that can be improved. Thank you!