seism0saurus / glacier

A social wall for Mastodon.
MIT License
2 stars 0 forks source link

Prevent reload of iframes on column change #27

Open seism0saurus opened 5 months ago

seism0saurus commented 5 months ago

If a new toot is added and the others are sorted into a new column, their content is reloaded. This costs performance and makes the page moving a lot. Therefore the reload should be prevented

seism0saurus commented 4 months ago

The problem seems to be the change detection of the ngFor loops. Each loop can track it's content with a track function. But I didn't find a solution for an object moving between different ngFor loops.