responsiv / campaign-plugin

[PREMIUM] Send professional campaign messages to your subscribers.
http://octobercms.com/plugin/responsiv-campaign
5 stars 2 forks source link

Layout issues in October CMS v3.2 #78

Closed alxy closed 1 year ago

alxy commented 1 year ago

Hi,

I have just played around with the plugin with the newest version of OctoberCMS (3.2) and it looks like there are some layout issues with the default layout and the CMS default styles: image

Is it expected or some miss-configuration on my end?

daftspunk commented 1 year ago

It looks OK on our side (v3.2)

image

Did you find the cause for this?

chocolata commented 1 year ago

Hi Sam,

I seem to have the same issue on version 3.2.23. See video below.

https://user-images.githubusercontent.com/3584586/226310652-687ee0b6-2669-4f5d-ba34-c193b89f7878.mp4

daftspunk commented 1 year ago

Damn, I can't seem to reproduce either of these... please send an email to hello@octobercms.com so we can share private details for testing.

webBook-cz commented 1 year ago

Hi! The problem is just in Firefox. Chrome is OK.

chocolata commented 1 year ago

With me the problem is also present in Chrome.

webBook-cz commented 1 year ago

in My occasion the preview content stays in this script element: <script type="text/template" id="Messages-preview-messageContents"> the function (function($){ var messageContents, messageFrame = $('#Messages-preview-messageIframe') $(document).render(function(){ var frameContents = messageFrame.contents().find('html') messageContents = $('#Messages-preview-messageContents').html() frameContents.html(messageContents) messageFrame.height(frameContents.height()) }) })(window.jQuery); probably doesn't work

chocolata commented 1 year ago

Hi guys, has anyone got the Richeditor Snippets plugin installed? Could it be a conflict with that plugin? I just disabled it and the layout issues seem to be gone now. If I re-enable the plugin, the issues reappear.

Could you guys let us know you're experiences?

chocolata commented 1 year ago

Just to let you guys know, in my case the issues seemed to be solved after the update of the Richeditor snippets plugin here:

https://github.com/inetis-ch/oc-richeditorsnippets-plugin/issues/23

daftspunk commented 1 year ago

@alxy Are you using the Richeditor snippets plugin?

alxy commented 1 year ago

I dont. But I will Check if I can find the root cause for this

Johardmeier commented 10 months ago

I had the same issue. If I remember correctly, in prior versions the plugin had a timeout for the render function. By reintroducing it, I solved the problem in firefox:

_campaign/controllers/messages/_message_iframe.php:

<script>
    (function($){
        var messageContents,
             ...
        $(document).render(function(){
            ...
        },1000)
    })(window.jQuery);
</script>