Skip to content

Commit d1d1530

Browse files
GiteaBotHesterGlunny
authored
Change interactiveBorder to fix popup preview (#23169) (#23314)
Backport #23169 Close #23073. Used the solution as reference to the reply: #23073 (comment) 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: Hester Gong <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent e3b1ebb commit d1d1530

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/features/contextpopup.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export function initContextPopups() {
3131
createTippy(this, {
3232
content: el,
3333
interactive: true,
34+
interactiveBorder: 5,
3435
onShow: () => {
3536
el.firstChild.dispatchEvent(new CustomEvent('us-load-context-popup', {detail: {owner, repo, index}}));
3637
}

0 commit comments

Comments
 (0)