Basemap Toggle widget on top?

636
2
Jump to solution
11-02-2017 12:33 PM
deleted-user-OlpHy1NoMNug
Occasional Contributor II

Anyway to move the basemap toggle widget down in the visual hierarchy in js 4.5?  It currently sits above the popup when docked.  I'm assuming this can be modified in the css but can't find out how.

Scott

0 Kudos
1 Solution

Accepted Solutions
ThomasSolow
Occasional Contributor III

Adding this CSS rule works for me:

.esri-popup .esri-popup__position-container {
  z-index: 3;
}

Off the top of my head I don't think this will break anything but you should keep an eye out in case it does.

View solution in original post

2 Replies
ThomasSolow
Occasional Contributor III

Adding this CSS rule works for me:

.esri-popup .esri-popup__position-container {
  z-index: 3;
}

Off the top of my head I don't think this will break anything but you should keep an eye out in case it does.

deleted-user-OlpHy1NoMNug
Occasional Contributor II

Yep, looks good.  I'll let you know if it breaks anything.  Thanks.

0 Kudos