?
avatar videoCodec
videoCodec
1 Nov 2017

Steps to reproduce the issue

click on calendar icon

Expected result

full calendar pop-up display

Actual result

calendar displays above input field, and is cut off by website's menu.

System information (as much as possible)

Firefox 56.0, Joomla 3.8.1

Additional comments

avatar videoCodec videoCodec - open - 1 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Nov 2017
Category JavaScript
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Nov 2017

can you please post a Screenshot?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18469.

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Nov 2017
Status New Information Required
avatar videoCodec
videoCodec - comment - 2 Nov 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Nov 2017

Can you please use Core-Template using Protostar if it depends on Template?

avatar videoCodec
videoCodec - comment - 2 Nov 2017

Thanks Franz, I'll try later tonight and post results.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18469.

avatar ciar4n
ciar4n - comment - 2 Nov 2017

This looks like a z-index issue with your template

avatar videoCodec
videoCodec - comment - 2 Nov 2017

The website was designed with the Gantry Template Framework, so changing to Protostar renders a page without any content. I'll try installing updates to the template and see what happens.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18469.

avatar tonypartridge
tonypartridge - comment - 2 Nov 2017

@dgt41 thoughts on increasing our z-indexing for the calendar? It should trump everything on screen really ;-)

avatar brianteeman
brianteeman - comment - 2 Nov 2017

its either the template or the calendar causing this issue (which is a z-index problem) there is nothing that can be done with the core of joomla to fix a problem like this

avatar tonypartridge
tonypartridge - comment - 2 Nov 2017

The calendar is by Joomla! we will be loading in styling so if we set a high z-index for the pop-up calendar we can solve the problem from occurring in the core. Whilst I agree it can be fixed by the template, we can also improve to avoid these issues.

avatar brianteeman
brianteeman - comment - 2 Nov 2017

sorry i assumed the calendar was an addon

avatar tonypartridge
tonypartridge - comment - 2 Nov 2017

? I suppose it could be, but it looks like our native date picker.

avatar ciar4n
ciar4n - comment - 2 Nov 2017

Unfortunately we can not simply increase the z-index of the calendar. It all depends on the z-index of its container which is within the realm of the template. To be fair it is not an easy fix for the template as a template header will often have a higher z-index than the remaining content. Otherwise the menu dropdowns in the header can appear behind said remaining content.

@dgt41 This may be a further reason to disable that flipping of the calendar from bottom to top if the calendar is located near the base of the viewport.

avatar videoCodec
videoCodec - comment - 15 Nov 2017

Is there any way to force the calendar to display below the input field?

avatar dgt41
dgt41 - comment - 21 Nov 2017

Ok, so here's the problem we have and kinda egg-chicken situation:

  • The calendar field should always display the input for manual insertion of the date
  • The calendar (since the position is absolute) needs to either display on the top or bottom according to the position on the field in the document

Those 2 requirements eventually could get a page were either the top or bottom position is not an option! We've discussed with @ciar4n the option to make this a relative position and have it always display under the input, but I cannot recall why we never actually did it (probably there's a reason that I forget right now)

avatar ciar4n
ciar4n - comment - 21 Nov 2017

@videoCodec To force the calendar to display below the field try adding the following to your template CSS...

.js-calendar {
    margin-top: 0 !important;
}

@dgt41 Can't remember for sure but I think the reason against a relative position was the effect it would have on the remaining content of the page.

avatar dgt41
dgt41 - comment - 28 Nov 2017

the effect it would have on the remaining content of the page

True, everything will be pushed down

avatar videoCodec
videoCodec - comment - 29 Nov 2017

Thanks!

both z-index and calendar position issues were fixed with the following js override:
.js-calendar { z-index: 100000 !important; margin-top: 0 !important; }

However, since 3.8.2 upgrade, the calendar object is gone. Before upgrade, I had the following js:
if (calendar.dateClicked == true) /* do something

Does anyone know the new object containing the dateClicked element?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18469.
avatar Quy
Quy - comment - 2 Dec 2017

@videoCodec If you don't get an answer, you may want to post your question to Joomla! forum: https://forum.joomla.org/

avatar Quy
Quy - comment - 4 Dec 2017

This can be closed as the initial issue has been resolved and the followup issue is here.

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Dec 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-12-05 12:53:54
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 5 Dec 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 5 Dec 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 5 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Dec 2017

closed as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18469.

Add a Comment

Login with GitHub to post a comment