@flozy/editor 3.9.9 → 4.0.0
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/dist/Editor/Editor.css
CHANGED
|
@@ -31,7 +31,9 @@ const PopupTool = props => {
|
|
|
31
31
|
const table = new TableUtil(editor);
|
|
32
32
|
const [size] = useWindowResize();
|
|
33
33
|
useEffect(() => {
|
|
34
|
-
|
|
34
|
+
const userStoppedSelection = size?.device === "xs" ? true : event === "end"; // for mobile, when user starts the selection, we are gonna show the popup tool
|
|
35
|
+
|
|
36
|
+
if (userStoppedSelection && anchorEl && !open) {
|
|
35
37
|
// for table cell selection
|
|
36
38
|
const isCellsSelected = table.isCellSelected(editor.selection);
|
|
37
39
|
if (!isCellsSelected) {
|