In the latest release (v1.0.3), Spotlight JS incorrectly detects a mouse as a trackpad on Windows. This issue only occurs on Windows and is not reproducible on Linux or macOS, where input devices are detected correctly.
As a result, mouse-specific behavior is misclassified, which affects interaction logic that depends on accurate input device detection.
Environment
- OS: Windows (reproducible across tested Windows systems)
- Spotlight-JS version: v1.0.3
- Other OS tested: Linux, macOS (working correctly)
Steps to Reproduce
- Run Spotlight JS demo page v1.0.3 on Windows.
- Use a standard mouse (non-trackpad input) for image scrolling.
- Observe that the spotlight reports the input device as a trackpad.
Expected Behavior
- A mouse should be correctly identified as a mouse on Windows, consistent with behavior on Linux and macOS.
Actual Behavior
- Mouse input on Windows is incorrectly classified as trackpad input.
Proposed Actions
- Investigate the root cause of the incorrect input device detection on Windows.
- Either:
- Implement a Windows-specific workaround, or
- Adjust detection parameters/logic so that they behave consistently across all operating systems.
Impact
This issue affects cross-platform consistency and breaks expected interaction behavior for Windows users relying on mouse input.
In the latest release (v1.0.3), Spotlight JS incorrectly detects a mouse as a trackpad on Windows. This issue only occurs on Windows and is not reproducible on Linux or macOS, where input devices are detected correctly.
As a result, mouse-specific behavior is misclassified, which affects interaction logic that depends on accurate input device detection.
Environment
Steps to Reproduce
Expected Behavior
Actual Behavior
Proposed Actions
Impact
This issue affects cross-platform consistency and breaks expected interaction behavior for Windows users relying on mouse input.