mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Change interactiveBorder to fix popup preview (#23169)
Close #23073. Used the solution as reference to the reply: https://github.com/go-gitea/gitea/issues/23073#issuecomment-1440124609 Here made the change inside the `contextpopup.js` because this is where the popup component is created and tippy configuration is given. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		| @@ -31,6 +31,7 @@ export function initContextPopups() { | ||||
|     createTippy(this, { | ||||
|       content: el, | ||||
|       interactive: true, | ||||
|       interactiveBorder: 5, | ||||
|       onShow: () => { | ||||
|         el.firstChild.dispatchEvent(new CustomEvent('ce-load-context-popup', {detail: {owner, repo, index}})); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user