[arcgis js api 4.*] remove blue frame/outline around MapView

2937
2
Jump to solution
07-12-2019 07:24 AM
DivisionSIG
New Contributor

Since javascript API vV4.* there is a blue outline around the map, when we interact with the view.

You can see this on the sample app https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/index.html Just move the map and you'll notice that blue outline around the view.

Do you know how to remove or disable that feature ?

thank you all

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Focus rectangles are an important part of accessibility. But if you really want to remove it anyway.

.esri-view .esri-view-surface--inset-outline:focus::after {
  outline: none !important;
}

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Focus rectangles are an important part of accessibility. But if you really want to remove it anyway.

.esri-view .esri-view-surface--inset-outline:focus::after {
  outline: none !important;
}
DivisionSIG
New Contributor

thank you, it worked

0 Kudos