JQLEditorConnect’s suggestion list does not move along with input field on scrolling.
Using this code from jql-connect-editor’s documentation:
import { useCallback } from 'react';
import { JQLEditorConnect } from '@atlassianlabs/jql-editor-connect';
const MyJQLEditor = () => {
const onSearch = useCallback((jql: string) => {
// Do some action on search
}, []);
return (
<JQLEditorConnect
query={''}
onSearch={onSearch}
locale={"en"}
/>
);
};
Then I got a fixed suggestion list on screen:
Checked the internal code and look like this behavior is a result of useAutocompletePosition
hook.