Within my app I have a screen where images are displayed to the user in a scroll able list. The user has the option to remove photos from the list and thus splicing them from its underlying array. However when this is done on an iOS device the user is scrolled back to the top of the page whenever the array gets spliced making the interaction look rather clunky. On Android this isn’t an issue and the position of the view is maintained.
The array holds file paths to the users local file system from which the images are read and displayed within a regular img tag iterating over them using a ngFor.
Does anyone have an idea what might trigger this behavior and have a possible solution for this?