Wails version family
v3
Operating System
macOS
Description
window := app.Window.NewWithOptions(application.WebviewWindowOptions{
Title: "Bytebook",
Width: 1400,
Height: 900,
MinWidth: 800,
MinHeight: 600,
X: rand.Intn(1000),
Y: rand.Intn(800),
URL: url,
Mac: application.MacWindow{
InvisibleTitleBarHeight: 35,
TitleBar: application.MacTitleBarHiddenInsetUnified,
WebviewPreferences: application.MacWebviewPreferences{
FullscreenEnabled: application.Enabled,
},
},
BackgroundColour: backgroundColor,
ZoomControlEnabled: false,
EnableFileDrop: true,
})
When I create a window with EnableFileDrop set to true the hover events elements in the webview stop triggering.
To Reproduce
- go to the /v3/examples/drag-n-drop/assets/index.html file
- add some basic hover css like
.bucket:hover {
background-color: orange !important;
}
- run
cd v3/examples/drag-n-drop && go run .
- Verify that hovering over a bucket does not change the backgronud color to orange.
Expected behaviour
It should pick up the mouse event and change the background color to orange,
Screenshots
No response
Attempted Fixes
No response
System Details
wails3 doctor
wails
Wails v3.0.0-alpha2.117 › Wails Doctor
# System
┌────────────────────────────┐
| Name | MacOS |
| Version | 27.0 |
| ID | 26A5378j |
| Branding | MacOS 27.0 |
| Platform | darwin |
| Architecture | arm64 |
| Apple Silicon | true |
| CPU | Apple M2 |
| CPU | Apple M2 |
| GPU | 10 cores |
| Memory | 24 GB |
└────────────────────────────┘
# Build Environment
┌──────────────────────────────────┐
| Wails CLI | v3.0.0-alpha2.117 |
| Go Version | go1.25.12 |
| -buildmode | exe |
| -compiler | gc |
| CGO_CFLAGS | |
| CGO_CPPFLAGS | |
| CGO_CXXFLAGS | |
| CGO_ENABLED | 1 |
| CGO_LDFLAGS | |
| GOARCH | arm64 |
| GOARM64 | v8.0 |
| GOOS | darwin |
└──────────────────────────────────┘
# Dependencies
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| *Android SDK | Not found. Set ANDROID_HOME (install via Android Studio or the command-line tools). |
| *NSIS | Not Installed. Install with `brew install makensis`. |
| *Xcode (iOS) | Xcode 26.1, Build version 17B55 |
| *iOS Device SDK | 26.1 |
| *iOS Simulator SDK | 26.1 |
| Xcode cli tools | 2417 |
| npm | 11.4.2 |
| docker | *Not installed (optional - for cross-compilation) |
| |
└──────────────────────────────────────── * - Optional Dependency ─────────────────────────────────────────┘
# Signing
┌────────────────────────────────────────┐
| macOS Signing | Not configured |
| Windows Signing | Not configured |
| Linux Signing | Not configured (GPG) |
└────────────────────────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!
Need documentation? Run: wails3 docs
♥ If Wails is useful to you or your company, please consider sponsoring the project: wails3 sponsor
Additional context
No response
Wails version family
v3
Operating System
macOS
Description
When I create a window with
EnableFileDropset totruethe hover events elements in the webview stop triggering.To Reproduce
cd v3/examples/drag-n-drop && go run .Expected behaviour
It should pick up the mouse event and change the background color to orange,
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response