File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -412,12 +412,16 @@ html, body {
412
412
padding: 8px 16px ;
413
413
border- radius: 4px ;
414
414
border: 1px solid var (-- border- color);
415
- transition: transform 0 .3s ease- in - out;
415
+ transition: all 0 .3s ease- in - out;
416
416
z- index: 1000 ;
417
417
font- size: 13px ;
418
+ opacity: 0 ;
419
+ visibility: hidden;
418
420
419
421
& .show {
420
422
transform: translateX (- 50 % ) translateY (0 );
423
+ opacity: 1 ;
424
+ visibility: visible;
421
425
}
422
426
}
423
427
Original file line number Diff line number Diff line change @@ -149,12 +149,8 @@ const toggleSelect = () => {
149
149
const newPaths = []
150
150
151
151
if (! isSelected .value ) {
152
+ // Only add the current path, don't automatically select children
152
153
newPaths .push (props .path )
153
-
154
- // If this is an object/array, add all child paths
155
- if (isObject .value ) {
156
- newPaths .push (... getAllChildPaths (props .value , props .path ))
157
- }
158
154
}
159
155
160
156
emit (' select' , newPaths)
You can’t perform that action at this time.
0 commit comments