-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v3] Fix default context-menu in selected disabled inputs #2753
[v3] Fix default context-menu in selected disabled inputs #2753
Conversation
@@ -28,7 +28,7 @@ func main() { | |||
mainWindow := app.NewWebviewWindowWithOptions(application.WebviewWindowOptions{ | |||
Title: "Context Menu Demo", | |||
Width: 1024, | |||
Height: 1124, | |||
Height: 1024, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I set this to 1124 as all the boxes didn't fit on Windows :-) Do they all fit in Mac?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just sized it and then ran wails.Window.Size()
in devtools and got this:
height: 1681,
width:1024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my screen a little bit was hidden under the windows taskbar, so made it smaller to fit and scrollbars with appear, I don't know how it looks on Mac.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah the joys of different screen resolutions 😅
…ask taskfile:update`.
I accidentally pushed some updates to your PR branch 😅 It's all good - we can merge. |
processDefaultContextMenu()
was missing showing the default context-menu for selected text in a disabled or readonly input, this PR fixes that to be aligned with v2.