Viewer inset outline

837
1
Jump to solution
07-23-2020 12:06 AM
JethroLeevers
New Contributor III

The new viewer seems to have a style on focus ( .esri-view-surface--inset-outline ), this adds a border to the viewer, is there any way to stop this from happening, I tried removing it from the dom on view.when but it seemed to re-add the style on focus.

0 Kudos
1 Solution

Accepted Solutions
Egge-JanPollé1
MVP Regular Contributor

Hi Jethro Leevers,

Did you see this thread? [arcgis js api 4.*] remove blue frame/outline around MapView 

There Robert Scheitlin, GISP‌ suggests the following solution, using CSS:

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

HTH,

Egge-Jan

View solution in original post

1 Reply
Egge-JanPollé1
MVP Regular Contributor

Hi Jethro Leevers,

Did you see this thread? [arcgis js api 4.*] remove blue frame/outline around MapView 

There Robert Scheitlin, GISP‌ suggests the following solution, using CSS:

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

HTH,

Egge-Jan