docs: changelog entry for the dropzone fix
Some checks are pending
Test and SonarQube / quality (push) Waiting to run
Some checks are pending
Test and SonarQube / quality (push) Waiting to run
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
3c210df8a4
commit
9942f920bc
@ -7,6 +7,15 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · versioned wi
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- **Magazine Dropzone Opened the Dropped File in the Browser Instead of Accepting It.** `dragover`'s `preventDefault()`
|
||||||
|
was gated on `dataTransfer.types` including `'Files'`, which Chromium does not reliably populate synchronously on
|
||||||
|
every `dragover` event during a real OS file drag — the condition failed often enough that the element never
|
||||||
|
reliably became a valid drop target, so the browser fell through to its native "open the file" behaviour (and the
|
||||||
|
hover highlight, gated the same way, never reliably appeared either). Removed the gate; `dragenter` is now also
|
||||||
|
handled, not just `dragover`. Added a window-level `dragover`/`drop` safety net so a drop landing even slightly
|
||||||
|
outside the zone can no longer trigger the browser's default action either.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- **Drag-and-Drop Dropzone For Adding a Magazine.** The "Add a magazine or paper" form used a plain `<input
|
- **Drag-and-Drop Dropzone For Adding a Magazine.** The "Add a magazine or paper" form used a plain `<input
|
||||||
type="file">` where the Book/Source screen already has a proper drop target; now reuses the exact same
|
type="file">` where the Book/Source screen already has a proper drop target; now reuses the exact same
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user