- fix select box being weird on scroll / resize
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -52,6 +52,7 @@ function FiltersSection({filters, form, bodyshop}) {
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
getPopupContainer={trigger => trigger.parentNode}
|
||||||
onChange={() => {
|
onChange={() => {
|
||||||
// Clear related Fields
|
// Clear related Fields
|
||||||
form.setFieldValue(['filters', field.name, 'value'], null);
|
form.setFieldValue(['filters', field.name, 'value'], null);
|
||||||
@@ -88,6 +89,7 @@ function FiltersSection({filters, form, bodyshop}) {
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
|
getPopupContainer={trigger => trigger.parentNode}
|
||||||
options={getWhereOperatorsByType(type)}/>
|
options={getWhereOperatorsByType(type)}/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user