Skip to content

Commit

Permalink
Merge pull request #304 from CleverTap/develop
Browse files Browse the repository at this point in the history
Web SDK Release 1.11.8
  • Loading branch information
singhkunal2050 authored Nov 13, 2024
2 parents 78bea8b + 5909a17 commit 71a9aa7
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.11.8] 13th Nov, 2024
- Fixed anti-flicker for visual editor
- Fixed White Background issue in Web Popup

## [1.11.7] 11th Nov, 2024
- Fixed saving/fetching inbox messages for custom inbox
- Added undefined check for 'Notification' in web push
Expand Down
14 changes: 7 additions & 7 deletions clevertap.js

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

2 changes: 1 addition & 1 deletion clevertap.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clevertap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clevertap-web-sdk",
"version": "1.11.7",
"version": "1.11.8",
"description": "",
"main": "clevertap.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/modules/visualBuilder/pageBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ export function addAntiFlicker (antiFlicker) {
(function () {
const styleContent = `
.wve-anti-flicker-hide {
opacity: 0 !important
opacity: 0 !important;
}
.wve-anti-flicker-show {
transition: opacity 0.5s, filter 0.5s !important
transition: opacity 0.5s, filter 0.5s !important;
}
`
// Create and append the style element if it doesn't exist
Expand Down Expand Up @@ -321,8 +321,8 @@ export function addAntiFlicker (antiFlicker) {
})
observer.observe(document.body, { childList: true, subtree: true })
}
window.addEventListener('load', () => {
window.addEventListener('DOMContentLoaded', () => {
observeUrlChange()
applyAntiFlicker(personalizedSelectors)
})
applyAntiFlicker(personalizedSelectors)
}
2 changes: 1 addition & 1 deletion src/util/tr.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ const _tr = (msg, {
'</div></div>'
html = css + title + body
}
iframe.setAttribute('style', 'z-index: 2147483647; display:block; height: 100% !important; width: 100% !important;min-height:80px !important;border:0px !important; border-color:none !important;')
iframe.setAttribute('style', 'color-scheme: none; z-index: 2147483647; display:block; height: 100% !important; width: 100% !important;min-height:80px !important;border:0px !important; border-color:none !important;')
msgDiv.appendChild(iframe)

// Dispatch event for interstitial/exit intent close
Expand Down

0 comments on commit 71a9aa7

Please sign in to comment.