-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
What happened?
Credit display popup should vertically re-center when content changes. Currently popup size is only centered the first time it is opened or when user changes viewport size. Follow up from #12913 (comment)
Reproduction steps
- Load sandcastle with imagery layer using per-tile/viewport dynamic attribution, eg. sandcastle loads Google Maps Satellite which has per-tile/viewport attribution
- Click "Data attribution" link in the bottom left of the viewer, the credits list in the attribution should be short and the popup should be vertically centered
- Close the popup, zoom in (height around 5000 meters will definitely reproduce it), check the data attribution popup again, if the credit list content is longer, you will see the popup has not re-centered and the content runs off the screen
Sandcastle example
No response
Environment
Browser:
CesiumJS Version:
Operating System: