Select to view content in your preferred language

PopupMobile and Bootstrap Nav

2230
3
Jump to solution
10-06-2015 09:38 AM
DavidColey
Honored Contributor

Does anyone have any ideas on how to use the popupMobile and a bootstrap navbar-fixed-top together?  No matter what I try css-wise for z indexing and/or padding I cannot get the popupMobile's navigation bar to display on top of the bootstrap navbar.  Do I need to get into the helper methods for placement maybe?

Thanks

David

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ChrisSmith7
Honored Contributor

If so, I was able to place it above the nav bar by adding a css override; here's the jsfiddle update:

Bootstrap nav bar; mobile popup ArcGIS - JSFiddle

And the overrides:

.esriMobileInfoView {z-index: 999999 !important;}
.esriMobilePopupInfoView {z-index: 999999 !important;}
.esriMobileNavigationBar {z-index: 999999 !important;}

Hope I understood your issue correctly!

View solution in original post

0 Kudos
3 Replies
ChrisSmith7
Honored Contributor

Not sure if I'm visualizing this correctly - is the problem exemplified in this jsfiddle I created?

Bootstrap nav bar; mobile popup ArcGIS - JSFiddle

0 Kudos
ChrisSmith7
Honored Contributor

If so, I was able to place it above the nav bar by adding a css override; here's the jsfiddle update:

Bootstrap nav bar; mobile popup ArcGIS - JSFiddle

And the overrides:

.esriMobileInfoView {z-index: 999999 !important;}
.esriMobilePopupInfoView {z-index: 999999 !important;}
.esriMobileNavigationBar {z-index: 999999 !important;}

Hope I understood your issue correctly!

0 Kudos
DavidColey
Honored Contributor

That's exactly it Chris, thanks!  It was driving me nuts. My z-index was too low (108 - based on WAB) and I was missing the .esriMobilePopupInfoView class.  I now have:

.esriMobileInfoView , .esriMobilePopupInfoView, .esriMobileNavigationBar {
    z-index: 999999 !important;
}
0 Kudos