UI issue for multisearch using textSearchInit

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
8.7.2
Detailed description of issue
We have implemented multisearch functionality with the help textSearchInit and displayAdditionalSearchResults methods. but while displaying the result divs are overlapping each other during this.

Expected behaviour
results should be same as normal

Does your issue happen with every document, or just one?
yes

Link to document
{Provide a link to the document in question if possible}

Code snippet
const results = ;

const performSearch = (searchTerm) => {
return new Promise(resolve => {
const mode = Core.Search.Mode.PAGE_STOP | Core.Search.Mode.HIGHLIGHT | Core.Search.Mode.AMBIENT_STRING | Core.Search.Mode.REGEX;
const searchOptions = {
fullSearch: true,
onResult: (result) => {
results.push(result);
documentViewer.displayAdditionalSearchResult(result);
},
onDocumentEnd: () => {
resolve();
}
};
documentViewer.textSearchInit(searchTerm, mode, searchOptions);

documentViewer.displayAdditionalSearchResults(results);

});
};

Hello Prajneshu,

Do you have a sample document I can test with to see the issue like in your image?