Ghost/ghost/admin/app/modifiers
Kevin Ansfield 1f06407878 Fixed "Cannot destructure property 'ratio'" errors
sentry ADMIN-C05

- resizing the window (or changing orientation) when viewing a single photo inside the Unsplash image selector was throwing errors because the event handler `setZoomedSize()` call was not passed the same arguments as the typical call made in `modify()`
- moved the `element` and `ratio` properties onto the class so they are preserved and ready to be used without being explicitly passed in when `setZoomedSize()` is called as part of an event
2022-12-06 17:23:38 +00:00
..
autofocus.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
movable.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
on-resize.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
on-scroll.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
ratio-zoom.js Fixed "Cannot destructure property 'ratio'" errors 2022-12-06 17:23:38 +00:00
react-render.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
scroll-into-view.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
scroll-to.js Renamed {{scroll-to}}'s shouldScroll argument to when 2022-11-11 11:53:53 +00:00
scroll-top.js Updated modifiers to resolve ember-modifier@4.x deprecations 2022-08-02 16:54:34 +01:00
select-on-click.js Migrated staff user screen to Ember Octane patterns (#15532) 2022-10-05 12:05:31 +01:00