mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	webview: Fix webview flickering. (#439)
Rewrote styling for the webview so that it takes the whole window when the app loads up. Fixes #249.
This commit is contained in:
		@@ -130,6 +130,7 @@ class WebView extends BaseComponent {
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		this.$el.classList.remove('disabled');
 | 
			
		||||
		this.$el.classList.add('active');
 | 
			
		||||
		setTimeout(() => {
 | 
			
		||||
			if (this.props.role === 'server') {
 | 
			
		||||
				this.$el.classList.remove('onload');
 | 
			
		||||
@@ -168,6 +169,7 @@ class WebView extends BaseComponent {
 | 
			
		||||
 | 
			
		||||
	hide() {
 | 
			
		||||
		this.$el.classList.add('disabled');
 | 
			
		||||
		this.$el.classList.remove('active');
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	load() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user