wintercms / wn-matomo-plugin

Integrates Matomo Analytics with Winter CMS
Other
4 stars 4 forks source link

iframe height problem #12

Open Webmasters-WPNGO opened 1 year ago

Webmasters-WPNGO commented 1 year ago

The first time you add the widget, the iframe height is correct, but when you refresh the page, the iframe height is not calculated (the iframe has no height tag) and the Analytics Dashboard is clipped.

LukeTowers commented 1 year ago

Does #6 solve the issue?

Webmasters-WPNGO commented 1 year ago

Does #6 solve the issue?

Thank you! This solves the problem

Webmasters-WPNGO commented 1 year ago

A problem has been detected. The iframe expands, but the add another widget button is overlaid on top of the iframe Analytics Dashboard.

To a height to which without onload="iFrameResize()" did not expand.

The button returns under the widget when the screen size changes. Firefox 111. Edge 111 too, but in addition after changing the screen size, a large height gap is noticeable.