New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical Scrollbar flickering during tracking #264

Open
sapcode opened this Issue Jul 15, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@sapcode

sapcode commented Jul 15, 2017

Dear Owa team,

when the tracking is enabled by javascript "owa.tracker-combined-min.js" the displayed internet site is flickering for 1 second because of vertical scrollbars are displayed within the iFrame and the div element "owa-tracker-post-container".

We were able to fix this in adding the following style attributes:

  1. Method cdPost():
    div.setAttribute('height', '0px');
    div.setAttribute('width','0px');
    div.setAttribute('style', 'border: none; overflow-x: hidden; overflow-y: hidden; display: none;');

  2. Method generateHiddenIframe():
    iframe.setAttribute('style', 'border: none; overflow: hidden; ');
    iframe.setAttribute('scrolling', 'no');

Best regards
Roman Doubrava

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment