Skip to content

Commit

Permalink
Change interactiveBorder to fix popup preview (#23169)
Browse files Browse the repository at this point in the history
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: Lunny Xiao <xiaolunwen@gmail.com>
  • Loading branch information
HesterG and lunny authored Mar 5, 2023
1 parent 21a1d76 commit ea7f0d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/js/features/contextpopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}}));
}
Expand Down

0 comments on commit ea7f0d6

Please sign in to comment.