Select to view content in your preferred language

PopupView does not display attachments if outside of view

91
1
Friday
t-schaal
Occasional Contributor

Hello everyone,

We recently discovered an issue where attachments in the PopupView do not render correctly when the content is rendered outside of the visible area (see attached video).

Some time ago we encountered a similar problem in our own implementation, which was related to our use of the default SwiftUI List. In our case, we were returning different types of views within the list, but SwiftUI List expects to receive the same view type throughout. Mixing different view types can lead to rendering bugs.

It's possible that a similar issue is affecting the PopupView. If different view types are being returned or mixed within the popup, that could explain the rendering problem with attachments as well.

0 Kudos
1 Reply
DavidFeinzimer
Esri Contributor

Hi @t-schaal, thank you for reaching out. If possible, can you please share some additional details:

  • A minimal reproducible example.
  • The data (map) where you see the rendering issue.
  • The types of simulators and/or physical devices you've experienced the issue on.
  • Xcode, iOS, and Swift Maps SDK version numbers.

In the meantime, I'll look into this more on my end and see if I can find a possible cause.

 

Thanks!

David

0 Kudos