Skip to content

Commit d41e44d

Browse files
committed
🐛(frontend) fix uikit dnd tree
The last version of UIKit has a bug that causes the dnd tree to break. It is due to some pointers event that are not properly handled. We remove the pointer event in waiting for the fix to be released.
1 parent 07e7b3f commit d41e44d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • src/frontend/apps/impress/src/features/docs/doc-tree/components

src/frontend/apps/impress/src/features/docs/doc-tree/components/DocTree.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,16 @@ export const DocTree = ({ currentDoc }: DocTreeProps) => {
274274
/* Remove outline from TreeViewItem wrapper elements */
275275
.c__tree-view--row {
276276
outline: none !important;
277+
pointer-events: initial;
277278
&:focus-visible {
278279
outline: none !important;
279280
}
280281
}
281282
283+
.c__tree-view--node {
284+
pointer-events: inherit;
285+
}
286+
282287
.c__tree-view--container {
283288
z-index: 1;
284289
margin-top: -10px;

0 commit comments

Comments
 (0)