Ghost/ghost/admin/app/components/epm-modal-container.js
Kevin Ansfield cb24eb3827 Fixed background flicker when opening design modal
refs https://github.com/TryGhost/Team/issues/1111

- added override of the `ember-promise-modals` container component so that it doesn't render the background element when `omitBackground` is passed as an option when opening the modal
- fixes the flicker by not having a dark background transition in whilst the white overlay modal is also transitioning in from transparent->opaque
2021-10-04 18:15:11 +01:00

4 lines
132 B
JavaScript

import EpmModalContainer from 'ember-promise-modals/components/modal-container';
export default class extends EpmModalContainer {}