Isomorphic,
I had earlier implemented the SuggestBox for TextItem which works fine. I used getPageLeft, getPageTop and getHeight of the textitem to show the suggestbox right below the textitem component. Now I need to implement the same for a TextAreaItem. The earlier approach no longer suffices. I would like to get the current cursor position and place the suggestBox appropriately. Please find the image below. Any way to implement this. It looks odd to show the suggestbox below the textAreaItem which spans multiple lines.
Thanks.
I had earlier implemented the SuggestBox for TextItem which works fine. I used getPageLeft, getPageTop and getHeight of the textitem to show the suggestbox right below the textitem component. Now I need to implement the same for a TextAreaItem. The earlier approach no longer suffices. I would like to get the current cursor position and place the suggestBox appropriately. Please find the image below. Any way to implement this. It looks odd to show the suggestbox below the textAreaItem which spans multiple lines.
Thanks.
Comment