Enabling Close Functionality for Frameless Fullscreen Window #3808
Unanswered
SusannaJung
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, Wails community!
I'm currently developing a Wails application with a customized title bar, and I've successfully implemented fullscreen toggling. However, I'm facing an issue with the close functionality:
Problem: The close button works perfectly when the window is in normal mode, but it does not function when the window is in frameless fullscreen mode. When I press the close button while in fullscreen, nothing happens.
Current Implementation:
I’m using the
WindowUnfullscreen()
method to exit fullscreen mode before calling theClose()
method (custom function).The logic works well when the window is not in fullscreen, but it seems the close operation is not triggered while in fullscreen.
My Questions:
Is there a specific way to ensure that the close operation works when the window is in frameless fullscreen mode?
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions