dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #46614
Re: Bug on dashboard map render in 223
Hi Craig,
Good that you found a fix :-)
The reason for the change between 2.23 and 2.24 is that we switched map
library from OpenLayers to Leaflet. Leaflet uses z-indexes up to 1000 for
layer handling.
Bjørn
On Tue, Aug 30, 2016 at 2:32 PM, Craig Hollingsworth <
craig.hollingsworth@xxxxxx> wrote:
> Hi Bjorn,
>
>
>
>
>
> Hope you’re well. Many thanks for following up. I’ve updated our test
> system to the latest build. I still get the problem. I played around
> and think it is because we are using the custom CSS app to change the
> header colour.
>
>
>
> Looks like it’s the z-index property that is causing the issue. If I do
> auto or inherit then header paints behind all as scroll up. At 10, which
> it was before, it seems to just affect maps. I’ve set to 9999 and now
> paints ok.
>
>
>
> Not sure what would have changed between 222 and 223 to have this impact.
> Perhaps the new map layers?
>
>
>
> Cheers
>
>
>
> Craig
>
>
>
> CSS we are using is:
>
>
>
> #header
>
> {
>
> background-color: #3c3c3c;
>
> height: 44px;
>
> position: fixed;
>
> z-index: 10;
>
> top: 0px;
>
> left: 0px;
>
> right: 0px;
>
> box-shadow: 0 0 3px #000000;
>
> }
>
>
>
> .header-bar
>
> {
>
> background-color: #3c3c3c;
>
> }
>
>
>
> *From:* Bjørn Sandvik [mailto:bjorn@xxxxxxxxx]
> *Sent:* 29 August 2016 07:23
> *To:* Craig Hollingsworth <craig.hollingsworth@xxxxxx>
> *Cc:* DHIS 2 developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-devs] Bug on dashboard map render in 223
>
>
>
> Hi Craig,
>
>
>
> I just tested the latest 2.23 version (revision 23073) on my computer and
> the dashboard maps are not hidden (tested in Chrome and Firefox):
>
>
>
> [image: cid:ii_isg06izs0_156d63526361865d]
>
>
> Could you inspect the header bar and report the z-index you get?
>
>
>
> [image: cid:ii_isg0l6l21_156d63f94679613d]
>
>
>
>
> Bjørn
>
>
>
> --
>
> Bjørn Sandvik
>
> GIS developer, DHIS 2
>
> University of Oslo
>
> www.dhis2.org
>
>
>
>
>
> On Thu, Aug 25, 2016 at 3:27 PM, Bjørn Sandvik <bjorn@xxxxxxxxx> wrote:
>
> Hi Craig,
>
>
>
> This should have been fixed: https://github.com/dhis2/dhis2-gis/issues/27
>
>
>
> We'll open the issue again, and have a second look.
>
>
>
> Thanks for reporting.
>
>
>
> Bjørn
>
>
>
> --
>
> Bjørn Sandvik
>
> GIS developer, DHIS 2
>
> University of Oslo
>
> www.dhis2.org
>
>
>
>
>
>
>
> On Thu, Aug 25, 2016 at 12:06 PM, Craig Hollingsworth <
> craig.hollingsworth@xxxxxx> wrote:
>
> Hi,
>
>
>
> Hope you’re well.
>
>
>
>
>
> See enclosed image for issue related to map render on dashboard in 223.
> Maps are covering menu and header on scroll up. Happening on Chrome.
> Also the case on IE. Windows 10.
>
>
>
> Can’t see anything on Launchpad re this issue. Please advise if you would
> like me to register as a bug.
>
>
>
>
>
> Cheers
>
>
>
> Craig
>
>
>
> Version:
>
> 2.23
>
> Build revision:
>
> 23060
>
> Build date:
>
> 2016-08-17 04:39
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> Bjørn Sandvik
>
> GIS developer, DHIS 2
>
> University of Oslo
>
> www.dhis2.org
>
>
>
>
>
> --
>
> Bjørn Sandvik
>
> GIS developer, DHIS 2
>
> University of Oslo
>
> www.dhis2.org
>
--
Bjørn Sandvik
GIS developer, DHIS 2
University of Oslo
www.dhis2.org
References