@flozy/editor 3.9.9 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
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) {
|