Skip to content

How to CloseCurrentPopup with key Esc? #419

Closed Answered by AllenDang
aj3423 asked this question in Q&A
Discussion options

You must be logged in to vote

@aj3423 Move following lines into the g.PopupModal.

giu.Custom(func() {
  if close_popup { // not work
    close_popup = false
    giu.CloseCurrentPopup()
  }
}),

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gucio321
Comment options

Answer selected by aj3423
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants