emitDropEvents is not work.

Author: minghuahuangCreated Jul 15, 2026Updated Sep 18, 2026
Labelsbug

Describe the bug emitDropEvents set true. and filesDropped events is not work.

To Reproduce Steps to reproduce the behavior:

  1. set emitDropEvents true.
  2. events on filesDropped filesDropped.
  3. drag, cursor is ban icon; drop is not work. filesDropped's callback is not trigger.

Expected behavior no ban, and filesDropped's callback is work

Screenshots/Screen recordings If applicable, add screenshots/screen recordings to help explain your problem.

Specifications

  • OS: Windows 11 x64
  • Neutralinojs version: v6.8.0
  • Neutralinojs CLI version: v11.7.2

Note: you can enter the neu version command to find these details

Additional context neutralino.config.json

json
{
  "applicationId": "com.test.web",
  "version": "0.0.1",
  "defaultMode": "window",
  "documentRoot": "/dist/",
  "url": "/",
  "enableServer": true,
  "enableNativeAPI": true,
  "tokenSecurity": "one-time",
  "logging": {
    "enabled": true,
    "writeToLogFile": true
  },
  "nativeAllowList": [
    "app.*",
    "os.*",
    "debug.log",
    "window.*",
    "computer.*",
    "events.*",
    "filesystem.*"
  ],
  "globalVariables": {},
  "modes": {
    "window": {
      "title": "neu-test",
      "width": 1366,
      "height": 850,
      "minWidth": 1024,
      "minHeight": 680,
      "center": true,
      "resizable": false,
      "maximize": false,
      "icon": "/dist/test.png",
      "borderless": true,
      "openInspectorOnStartup": false,
      "enableInspector": true,
      "emitDropEvents": true
    }
  },
  "cli": {
    "binaryName": "neu-test",
    "resourcesPath": "/dist/",
    "extensionsPath": "/extensions/",
    "distributionPath": "/build",
    "clientLibrary": "/dist/neutralino.js",
    "binaryVersion": "6.8.0",
    "clientVersion": "6.8.0"
  }
}

Source: neutralinojs/neutralinojs