There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-ed7b2ce1-f16b-495e-877d-83bd1ea46e66 XWIKI-23650 Open

Broken positioning of xtree finder suggestions

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-07d39be0-f228-4a9a-bb87-919d40625be0 Marius Dumitru Florea on 09/Feb/26 13:41
 

I noticed quite a few problems:

  • the position of the dropdown used to show the tree finder suggestions; the default absolute positioning of the search suggest dropdown doesn't work well with the fixed position of the Bootstrap modal
  • the suggestions were fetched using Solr without enabling prefix matching
  • the finder suggestion dropdown remained visible after closing the modal (e.g. using the Cancel button)
  • the keyboard event handling on the finder suggest input was broken (it was listening to keypress event which has become deprecated in the meantime and is not fired any more for non-characters keys); you couldn't close the dropdown using ESC and you couldn't select a suggestion using key down/up
  • ESC key was closing the modal, which is not right when you have input fields on the modal

I fixed all of them.