mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix #1131
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -266,7 +266,7 @@ const AutoComplete = forwardRef(function Impl<T>(props: AutoCompleteProps<T>, re
|
||||
className={focused ? 'autocomplete-wrapper focused' : 'autocomplete-wrapper'}
|
||||
style={{ width, height }}
|
||||
>
|
||||
<DndProvider backend={HTML5Backend}>
|
||||
<DndProvider backend={HTML5Backend} context={window}>
|
||||
{multi && selectedKeys.map((key) => {
|
||||
const item = valueCache[key];
|
||||
return (
|
||||
|
||||
@@ -146,7 +146,7 @@ export function SubtaskConfigTree() {
|
||||
|
||||
export function ProblemConfigTree() {
|
||||
return (
|
||||
<DndProvider backend={HTML5Backend}>
|
||||
<DndProvider backend={HTML5Backend} context={window}>
|
||||
<div className="row">
|
||||
<div className="medium-6 columns">
|
||||
<SubtaskConfigTree />
|
||||
|
||||
Reference in new issue
Block a user