Skip to content

Commit

Permalink
Bugfix: Vertical Scrollbar flickering during tracking (Open-Web-Analy…
Browse files Browse the repository at this point in the history
  • Loading branch information
Maaiins authored Mar 30, 2020
1 parent a85177e commit c4bd6d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 4 additions & 6 deletions modules/base/js/owa.tracker-combined-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion modules/base/js/owa.tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,9 @@ OWA.tracker.prototype = {
// create post frame container
var div = document.createElement( 'div' );
div.setAttribute( 'id', container_id );
div.setAttribute('height', '0px');
div.setAttribute('width','0px');
div.setAttribute('style', 'border: none; overflow-x: hidden; overflow-y: hidden; display: none;');
document.body.appendChild( div );
iframe_container = document.getElementById( container_id );
}
Expand All @@ -911,7 +914,8 @@ OWA.tracker.prototype = {
}

iframe.setAttribute('class', iframe_name);
iframe.setAttribute('style', 'border: none;');
iframe.setAttribute('style', 'border: none; overflow: hidden; ');
iframe.setAttribute('scrolling', 'no');
//iframe.onload = function () { this.postFromIframe( data );};

var that = this;
Expand Down

0 comments on commit c4bd6d6

Please sign in to comment.