Ghost/ghost/admin/app/components/gh-scroll-trigger.hbs
Kevin Ansfield db68f0248b Update dependency ember-in-viewport to v3.8.0
no issue

- now that we no longer have the `ember-sticky-element` dependency we're free to upgrade `ember-in-viewport`
- remove package.json resolution so latest version gets installed
- remove ember-in-viewport from renovate ignore config
- update `<GhScrollTrigger>` to match latest `ember-in-viewport` usage and convert to a glimmer component
  - ensure `scrollableArea` is always set so that the trigger doesn't stop working after the first trigger
2020-10-01 10:06:53 +01:00

3 lines
101 B
Handlebars

<div {{did-insert this.setupInViewport}} {{will-destroy this.teardownInViewport}}>
{{yield}}
</div>