Reset scroll position when switching between places
All checks were successful
CI / Lint (pull_request) Successful in 36s
CI / Test (pull_request) Successful in 1m3s
Release Drafter / Update release notes draft (pull_request) Successful in 7s

This commit is contained in:
2026-04-22 13:10:11 +04:00
parent 1498c5a713
commit fe41369754
2 changed files with 12 additions and 0 deletions

View File

@@ -367,6 +367,7 @@ export default class PlaceDetails extends Component {
<PlacePhotosCarousel
@photos={{this.photos}}
@name={{this.name}}
@resetKey={{this.place.osmId}}
@scrollToEventId={{this.newlyUploadedPhotoId}}
/>
<h3>{{this.name}}</h3>