File tree Expand file tree Collapse file tree
src/visualBuilder/listeners Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,6 +200,10 @@ function isFieldPathDropdown(target: HTMLElement): boolean {
200200 return target . classList . contains ( "visual-builder__focused-toolbar__field-label-wrapper" ) || target . classList . contains ( "visual-builder__focused-toolbar__field-label-wrapper__current-field" ) ;
201201}
202202
203+ function isFieldPathParent ( target : HTMLElement ) : boolean {
204+ return target . classList . contains ( "visual-builder__focused-toolbar__field-label-wrapper__parent-field" ) ;
205+ }
206+
203207const throttledMouseHover = throttle ( async ( params : HandleMouseHoverParams ) => {
204208 const eventDetails = getCsDataOfElement ( params . event ) ;
205209 const eventTarget = params . event . target as HTMLElement | null ;
@@ -221,7 +225,7 @@ const throttledMouseHover = throttle(async (params: HandleMouseHoverParams) => {
221225 }
222226 if (
223227 eventTarget &&
224- isFieldPathDropdown ( eventTarget )
228+ ( isFieldPathDropdown ( eventTarget ) || isFieldPathParent ( eventTarget ) )
225229 ) {
226230 params . customCursor && hideCustomCursor ( params . customCursor ) ;
227231 showOutline ( ) ;
You can’t perform that action at this time.
0 commit comments