@emailmaker/filemanager 0.10.56 → 0.10.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/file-manager.css +25 -1
- package/file-manager.esm.js +8 -8
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/package.json +1 -1
package/file-manager.css
CHANGED
|
@@ -478,11 +478,24 @@
|
|
|
478
478
|
pointer-events: none;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
+
/* Невидимый capture layer для перехвата drag событий в Chrome на macOS.
|
|
482
|
+
Покрывает весь viewport с максимальным z-index, чтобы перехватить события
|
|
483
|
+
до того, как их перехватит родительское приложение. */
|
|
484
|
+
.em-filemanager .dragCaptureLayer {
|
|
485
|
+
position: fixed;
|
|
486
|
+
inset: 0;
|
|
487
|
+
z-index: 2147483647;
|
|
488
|
+
background: transparent;
|
|
489
|
+
pointer-events: auto;
|
|
490
|
+
opacity: 1;
|
|
491
|
+
cursor: copy;
|
|
492
|
+
}
|
|
493
|
+
|
|
481
494
|
/* Полноэкранный overlay при drag файлов (покрывает viewport, в т.ч. маску модалки) */
|
|
482
495
|
.em-filemanager .dragOverlayGlobal {
|
|
483
496
|
position: fixed;
|
|
484
497
|
inset: 0;
|
|
485
|
-
z-index:
|
|
498
|
+
z-index: 2147483646;
|
|
486
499
|
background: rgba(0, 0, 0, 0.35);
|
|
487
500
|
display: flex;
|
|
488
501
|
align-items: center;
|
|
@@ -2910,6 +2923,17 @@
|
|
|
2910
2923
|
margin-top: 24px;
|
|
2911
2924
|
}
|
|
2912
2925
|
|
|
2926
|
+
/* Fix for Chrome on macOS: make modal mask transparent to drag events during file drag operations.
|
|
2927
|
+
This allows dragenter/dragover/drop events to pass through to the file manager content. */
|
|
2928
|
+
body[data-fm-dragging=true] .ant-modal-mask,
|
|
2929
|
+
body[data-fm-dragging=true] .ant-modal-wrap {
|
|
2930
|
+
pointer-events: none !important;
|
|
2931
|
+
}
|
|
2932
|
+
body[data-fm-dragging=true] .ant-modal-wrap .ant-modal,
|
|
2933
|
+
body[data-fm-dragging=true] .ant-modal-wrap .ant-modal-content {
|
|
2934
|
+
pointer-events: auto !important;
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2913
2937
|
@media (max-width: 1200px) {
|
|
2914
2938
|
.em-filemanager .header-container .ant-btn > span:nth-child(2) {
|
|
2915
2939
|
display: none;
|