• Resolved Nextendweb

    (@nextendweb)


    Hi @d4mation,
    I’m the developer of Smart Slider 3. One of our user reported us that there is a compatibility issue with your plugin. We use Iframe in our application and your plugin overrides its width on every resize with this code:

    var t = e("iframe:not(.ignore-responsive)");
    e(window).resize(function () {
      t.each(function () {
        s(this)
      })
    }).resize()

    I’m not sure why is it there, but your should be more specific with your selectors. Target only the elements what you really need!
    If you want to target only the the dashboard use:

    var t = e("body.index-php iframe:not(.ignore-responsive)");
    e(window).resize(function () {
      t.each(function () {
        s(this)
      })
    }).resize()
    • This topic was modified 4 years, 7 months ago by Nextendweb.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author d4mation

    (@d4mation)

    @nextendweb

    Thank you so much for the detailed report! I have just pushed a release to address this. It should be set for your user now.

    The iFrame resizing was originally added because another user wanted to embed YouTube videos in our Dashboard Widgets. I have now restricted that resizing code to only apply to our Dashboard Widgets and Admin Pages in v2.1.5 of Client Dash.

    Thread Starter Nextendweb

    (@nextendweb)

    Thank you @d4mation! Then I will remove ignore-responsive class from our software ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin iframes width are overridden’ is closed to new replies.