tokenshift / obsidian-page-gallery

Generates a gallery based on selected page contents.
MIT License
68 stars 2 forks source link

If a page gallery includes the page that its on, an infinite loop of unnecessary refreshing results. #15

Closed tokenshift closed 1 year ago

tokenshift commented 1 year ago

If your page-gallery block has a from clause that includes the page itself, then updateTiles is called endlessly. The debounce is still working, so it's about 10 times a second max, but still enough to cause nonresponsiveness on mobile devices. Need to figure out why a refresh is being triggered, and possibly automatically exclude the parent/containing page from the list of pages to be displayed.