Skip to content

Commit f0d24f1

Browse files
Always add class 'nodrag' to SuggestField's popover content element
- This should prevent dragging of react-flow and dnd-kit elements when interacting with the component.
1 parent 416dbaf commit f0d24f1

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ This is a major release, and it might be not compatible with your current usage
5454
- use `<EdgeNew />` by default for new connection lines, you can overwrite it by setting `connectionLineComponent` to `undefined`
5555
- overrite the native SCSS `rgba()` function, so it now works for SCSS color values and CSS custom properties
5656
- `getColorConfiguration()` works with CSS custom properties
57+
- `<SuggestField />`
58+
- Always add class 'nodrag' to popover content element to always prevent dragging of react-flow and dnd-kit elements when interacting with the component.
5759

5860
### Deprecated
5961

src/components/AutocompleteField/AutoCompleteField.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ function AutoCompleteField<T, UPDATE_VALUE>(props: AutoCompleteFieldProps<T, UPD
487487
query={query}
488488
// This leads to odd compile errors without "as any"
489489
popoverProps={updatedContextOverlayProps as any}
490+
popoverContentProps={{className: "nodrag"}}
490491
selectedItem={selectedItem}
491492
fill={fill}
492493
{...createNewItemProps}

0 commit comments

Comments
 (0)