ben-miles / benmiles-wp

A custom WordPress theme, plus data and plugins, for my portfolio website.
https://benmiles.com
Other
1 stars 0 forks source link

Portfolio Items Don't Load In Until First Scroll #30

Closed ben-miles closed 7 months ago

ben-miles commented 1 year ago

When the user clicks any of the filtering buttons on the Portfolio view, if any relevant items have not yet loaded in (due to be scrolled into view), those items will not show until the user scrolls (any amount of scrolling is enough, even 1px). If the user doesn't scroll, then it may appear to the user that there is little or no relevant items to be shown.

Ideally, the applyAnimations() JavaScript function should get called when the Portfolio filter buttons are clicked. That should trigger