No Code Attached Yet bug
avatar chrisdavenport
chrisdavenport
15 Feb 2024

Steps to reproduce the issue

Go to any screen which has a help screen, for example Content -> Articles.
Click on the text "Help" of the help toolbar button and you will see the appropriate help screen. However, if you click on the question mark to the left of the text you will get a much larger blank window with "about:blank" in the address bar.

Expected result

Clicking anywhere on the help button (even on the question mark) should open the appropriate help screen.

Actual result

The help screen only opens if the user clicks on the text of the help button.

System information (as much as possible)

Chrome on Ubuntu 22.04.
php 8.1
Joomla 4.4.2 and Joomla 5.0.2 (same behaviour on both).

avatar chrisdavenport chrisdavenport - open - 15 Feb 2024
avatar joomla-cms-bot joomla-cms-bot - change - 15 Feb 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Feb 2024
avatar brianteeman
brianteeman - comment - 15 Feb 2024

Confirmed. Clicking exactly on the icon opens a blank window

avatar Quy Quy - change - 15 Feb 2024
Labels Added: bug
avatar Quy Quy - labeled - 15 Feb 2024
avatar Quy
Quy - comment - 15 Feb 2024

In browser's console: Opening multiple popups was blocked due to lack of user activation.

@dgrammatiko line 49 #39727

avatar dgrammatiko
dgrammatiko - comment - 15 Feb 2024

@Quy can you add this css and check:

.btn > * { pointer-events: none; }

Ok, checked it myself, the code above fixes the bug. It needs to be added to the atum scss

avatar Quy
Quy - comment - 15 Feb 2024

@dgrammatiko I will submit a PR. Thank you for the fix!

avatar dgrammatiko
dgrammatiko - comment - 15 Feb 2024

@Quy change the code to button > * { pointer-events: none; }. the .btn class could be applied to links also...

Ignore this, the PR is fine

avatar Quy Quy - close - 15 Feb 2024
avatar Quy
Quy - comment - 15 Feb 2024

Thanks for the report. Please test #42820.

avatar Quy Quy - change - 15 Feb 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-02-15 18:00:32
Closed_By Quy

Add a Comment

Login with GitHub to post a comment