Skip to content

Build your personal knowledge base with Trilium Notes

fix(note-types): stop clipping the Code and Collections submenus

Elian Dorand4f13ac2add2
diff --git a/apps/client/src/widgets/dialogs/note_type_chooser.tsx b/apps/client/src/widgets/dialogs/note_type_chooser.tsx
index 45f4178f8c..3da2516e08 100644
--- a/apps/client/src/widgets/dialogs/note_type_chooser.tsx
+++ b/apps/client/src/widgets/dialogs/note_type_chooser.tsx
@@ -88,7 +88,6 @@ export default function NoteTypeChooserDialogComponent() {
className="note-type-chooser-dialog"
size="md"
zIndex={1100} // note type chooser needs to be higher than other dialogs from which it is triggered, e.g. "add link"
- scrollable
// Bootstrap focuses the dialog itself once shown, which the menu takes back.
onShown={() => {
if (!userMovedFocus.current) menuRef.current?.focus({ preventScroll: true });