Manually trigger resizing of responsive elements

2 replies · opened May 23, 2018

JjdmannMay 23, 2018

Hi,

How would I manually trigger resizing of any responsive elements? I am using AngularJS and some elements get hidden or added but the height of the document doesn't change (I assume that the functions.js is only setup to get triggered if the window resizes, not if elements get removed from the DOM).

Jonathan

JjdmannMay 23, 2018

This seems to work:

  setTimeout( function() {
    SEMICOLON.initialize.maxHeight();
  }, 500)

However, simply calling SEMICOLON.documentOnResize.init() did not work in my situation.

SSemicolon WebSTAFFJun 4, 2018

Hello,

Thanks for your Patience!

The SEMICOLON.documentOnResize.init() Function should work fine according to the usage you have mentioned but we will surely check this out if this doesn't. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard