NPM Resource Changed PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar GeraintEdwards
GeraintEdwards
14 Jul 2023

Recreated as PR for Joomla 4.3 at #41160

When you complete a tour and then interact with a targeted element the blur event listener is still attached and throws a javascript error

Pull Request for Issue # .

Summary of Changes

Check there is a tour active before attempting to focus on the tour step buttons

Testing Instructions

Run a tour e.g. How to create a menu item - cancel the tour before completing the title step (the same problem can exist in a completed tour).

Click in the 'title' field and then move it out (i.e. fire a blur event) the view the javascript console

Actual result BEFORE applying this Pull Request

Screenshot from 2023-07-14 10-44-22

Screenshot from 2023-07-14 10-44-31

Screenshot from 2023-07-14 10-44-43

Expected result AFTER applying this Pull Request

No error message in the console.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 14 Jul 2023
Category JavaScript Repository NPM Change
avatar GeraintEdwards GeraintEdwards - open - 14 Jul 2023
avatar GeraintEdwards GeraintEdwards - change - 14 Jul 2023
Status New Pending
avatar GeraintEdwards GeraintEdwards - change - 14 Jul 2023
Labels Added: NPM Resource Changed PR-5.0-dev
avatar GeraintEdwards GeraintEdwards - edited - 14 Jul 2023
avatar GeraintEdwards GeraintEdwards - change - 14 Jul 2023
Title
Eliminate tour blur event errors
[5.0] Guided Tours - Eliminate tour blur event errors
avatar GeraintEdwards GeraintEdwards - change - 14 Jul 2023
The description was changed
avatar GeraintEdwards GeraintEdwards - edited - 14 Jul 2023
avatar GeraintEdwards GeraintEdwards - change - 14 Jul 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-07-14 14:09:09
Closed_By GeraintEdwards
avatar GeraintEdwards GeraintEdwards - close - 14 Jul 2023

Add a Comment

Login with GitHub to post a comment