J4 Issue ?
avatar PhilETaylor
PhilETaylor
23 Oct 2018

Steps to reproduce the issue

Joomla 4.0-dev @ 9d3acfd
Login to admin -> Content Articles (Note menu is still open) -> click an article to edit it (left menu disappears correctly) -> click close

Note now the left menu is collapsed and Content is no longer open

Expected result

Left menu to be open with Articles selected

Actual result

Note now the left menu is collapsed and Content is no longer open

avatar PhilETaylor PhilETaylor - open - 23 Oct 2018
avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Oct 2018
avatar laoneo
laoneo - comment - 24 Oct 2018

I can confirm this. @ciar4n any idea?

avatar SharkyKZ
SharkyKZ - comment - 24 Oct 2018

It's because closing the article redirects to a different URL (index.php?option=com_content&view=articles). Menu item points to index.php?option=com_content.

avatar dgrammatiko
dgrammatiko - comment - 24 Oct 2018

@laoneo you can use: https://codepen.io/dgrammatiko/pen/gBQLXE. You don't really need some 3rd party library for the menu...

avatar ciar4n
ciar4n - comment - 24 Oct 2018

Is there any particular reason the menu item link's to index.php?option=com_content instead of index.php?option=com_content&view=articles?

avatar laoneo
laoneo - comment - 26 Oct 2018

@dgrammatiko please open a new pr with your changes. Thanks.

@ciar4n Would it be possible to select the first element when none is found?

avatar brianteeman brianteeman - change - 30 Oct 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 30 Oct 2018
avatar PhilETaylor PhilETaylor - change - 10 Feb 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-02-10 21:32:37
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 10 Feb 2019

Add a Comment

Login with GitHub to post a comment