No Code Attached Yet
avatar PhilETaylor
PhilETaylor
30 May 2020

Steps to reproduce the issue

install Joomla 4.0.0 beta 1 (English United Kingdom)
install sample data
login to frontend with super admin
Click change password
scroll down a long way, click the copy button next to your token

Expected result

Token selected, Token copied to the clipboard, no flicker, no feedback and no "success message"

Just like the copy button here in GitHub next to the repo url for example.

Actual result

Page flickers

Took me ages to work out why, but if you scroll all the way back up the page to the top of the page you get a success message, which is outside of the window, and thus redundant

Screen Recording 2020-05-30 at 11 16 PM

System information (as much as possible)

Additional comments

avatar PhilETaylor PhilETaylor - open - 30 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 30 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 May 2020
avatar PhilETaylor PhilETaylor - change - 30 May 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 30 May 2020
avatar PhilETaylor PhilETaylor - change - 30 May 2020
Title
[4.0b1] Token Copied Not Visible
[4.0b1] Token Copied Feedback Message Not Visible
avatar PhilETaylor PhilETaylor - edited - 30 May 2020
avatar nikosdion
nikosdion - comment - 31 May 2020

This was introduced with #29005 Paging @C-Lodder

I believe that is we really want to use Joomla.renderMessages() we need to also scroll the browser to the messages area. Otherwise we should be displaying an inline message like everyone else does when copying tokens.

avatar C-Lodder
C-Lodder - comment - 31 May 2020

The feature was added by me, yes, however the way alerts are managed are a different issue. I have raised concerns about them before but others believe they should be statically positioned on the page.
I won't fight the maintainers on UX and will let the issues raised (e.g this one) speak for themselves.

avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:40:05
Closed_By PhilETaylor
Labels Added: No Code Attached Yet
Removed: ?
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022

Add a Comment

Login with GitHub to post a comment