Prevent Jumping on Keyword Search & Pagination Problems
KaganHamzacebi opened this issue · 1 comments
KaganHamzacebi commented
Bug Report or Feature Request (mark with an x
)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [] Feature request
- [x] Documentation issue or request
this.pdfViewerComponent?.eventBus?.dispatch('find', {
query: 'keyword1 keyword2',
type: 'again',
caseSensitive: false,
findPrevious: undefined,
highlightAll: true,
phraseSearch: false,
});
im searching keywords like this and implemented a simple pagination.
My problems are;
- I want to prevent jump on search
- After searched for keywords moving between pages are getting bugged. After clicking pager buttons, pages are not changing properly.
My component config:
<pdf-viewer #pdfViewerComponent
id="Document-PdfViewer-Component"
[src]="pdfURL"
[show-all]="false"
[rotation]="pageRotation"
[zoom]="pageZoom"
[fit-to-page]="true"
[original-size]="true"
zoom-scale="page-fit"
[page]="currentPage"
[show-borders]="true"
[render-text]="true"
(after-load-complete)="onLoadComplete($event)"
(text-layer-rendered)="onPageRender()"
style="display: block;width: 100%; height: 100%;"
/>
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.