Skip to content

Commit

Permalink
fix: added timeout delay for browser redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Prilutskiy authored Feb 5, 2021
1 parent b4a9318 commit 8fb62d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/views/components/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Iframe extends Component {
setTimeout(() => {
this.iframeRef.style.display = 'block'
resolve()
})
}, 500)
} catch (err) {
reject(err)
}
Expand Down

0 comments on commit 8fb62d1

Please sign in to comment.