Select to view content in your preferred language

Calcite popovers / expand widget not rendering in correct position

194
2
Jump to solution
3 weeks ago
kaleb_integralNZ
New Contributor

I have a problem where my popovers, calcite dropdowns and such all don't quite line up.

It could be to do with how my web app is laid out. I'm unsure which part would trigger this.

This problem only occurs on Chromium based browsers. Firefox is fine.

ChromeChromeFirefoxFirefox

 

Reproducible Example:

https://codepen.io/kaleb_integralnz/pen/wvVJwgx

0 Kudos
1 Solution

Accepted Solutions
MattDriscoll
Esri Contributor

Hello @kaleb_integralNZ ,

 

Here is a fix: https://codepen.io/driskull/pen/eYqveRg

arcgis-map {
  height: 100%;
  container-type: inline-size;
  contain: layout;
}

 

Here is some more information on why this is needed:

https://dev.to/michaelcharles/chrome-129s-container-query-change-2i77

https://issues.chromium.org/issues/369781727?pli=1

 

Let me know if that solves it for you.

View solution in original post

2 Replies
MattDriscoll
Esri Contributor

Hello @kaleb_integralNZ ,

 

Here is a fix: https://codepen.io/driskull/pen/eYqveRg

arcgis-map {
  height: 100%;
  container-type: inline-size;
  contain: layout;
}

 

Here is some more information on why this is needed:

https://dev.to/michaelcharles/chrome-129s-container-query-change-2i77

https://issues.chromium.org/issues/369781727?pli=1

 

Let me know if that solves it for you.

kaleb_integralNZ
New Contributor

Thanks for the solution!

0 Kudos