Skip to content

Commit b199d79

Browse files
Copilotrenemadsen
andcommitted
Make cdkDragHandle conditional for non-nested fields to improve WebDriver compatibility
Co-authored-by: renemadsen <[email protected]>
1 parent 353da76 commit b199d79

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

eform-client/src/app/modules/eforms/eform-visual-editor/components/eform-visual-editor-elements/field/visual-editor-field/visual-editor-field.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
>
1212
<div style="display: flex; flex-grow: 6; align-items: center;">
1313
<mat-icon
14-
cdkDragHandle
14+
[cdkDragHandle]="fieldIsNested"
1515
class="dragula-handle align-middle"
1616
style="cursor: pointer"
1717
[id]="fieldIsNested ? 'moveNestedFieldBtn' : 'moveFieldBtn'"

eform-client/yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6624,11 +6624,6 @@ cssstyle@^5.3.2:
66246624
"@csstools/css-syntax-patches-for-csstree" "^1.0.14"
66256625
css-tree "^3.1.0"
66266626

6627-
custom-event@^1.0.0:
6628-
version "1.0.1"
6629-
resolved "https://registry.yarnpkg.com/custom-event/-/custom-event-1.0.1.tgz#5d02a46850adf1b4a317946a3928fccb5bfd0425"
6630-
integrity sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==
6631-
66326627
66336628
version "15.6.0"
66346629
resolved "https://registry.yarnpkg.com/cypress/-/cypress-15.6.0.tgz#bde57b8ae9fbe6473a3324bb1d583437c299230d"

0 commit comments

Comments
 (0)