Fix autocompletion popup flipping direction

This commit is contained in:
Alexandre Iooss 2020-08-10 14:45:17 +02:00
parent c3081d9cc3
commit f74b19b2af
1 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,8 @@ function autoCompleteNote(field_id, note_list_id, notes, notes_display, alias_pr
placement: 'bottom',
title: 'Loading...',
trigger: 'manual',
container: field.parent()
container: field.parent(),
fallbackPlacement: 'clockwise'
});
// Clear search on click