Page 1 of 1

focus the match case in find

Posted: Mon May 04, 2020 11:52 am
by morteza
Hello
I have tried to use the find toolbar. As I checked on the demo when find is done the matched case is focused and if it needs it scrolled down.
but In my project, it just highlighted very poorly and even not focused and scrolled (in the case which matched text in lower page)

Best regards.

Re: focus the match case in find

Posted: Tue May 05, 2020 3:15 pm
by HighAley
Hello,

How do you use our tool?
Are you sure that the whole Viewer is shown in the browser window without the scrolling.
The scrolling should be inside of the viewer. The toolbar should not go up when you scroll down.

Thank you.

Re: focus the match case in find

Posted: Wed May 06, 2020 4:22 am
by morteza
we are using report in react.
"Are you sure that the whole Viewer is shown in the browser window without the scrolling."
no there is not enough room to show the whole viewr.

Re: focus the match case in find

Posted: Wed May 06, 2020 5:50 pm
by HighAley
Hello,

Please, limit the height of the Viewer.
You could set the fullScreenMode or the height properties of the Viewer.
https://www.stimulsoft.com/en/documenta ... ttings.htm

Or you could limit the height of its container.

Thank you.

Re: focus the match case in find

Posted: Sat May 09, 2020 12:21 pm
by morteza
Hello
thanks for your help.
I have changed as you suggested :

Code: Select all

    options.height = "100%";
but the problem remained. when there is no limitation in the parent height it works without any problem, but when we limit the viewer parent height like max-height:100vh
the viewer neither scrolled nor focus on fine matches.

Best Regards

Re: focus the match case in find

Posted: Tue May 12, 2020 9:33 am
by HighAley
Hello,

Did you try to set the scrollbarsMode to True?
If you sill get the issue, please, send us a sample with screenshot of the issue.
It's hard to guess how to help you without seeing it.

Thank you.

Re: focus the match case in find

Posted: Thu May 14, 2020 5:52 am
by morteza
Hello,

Thanks for your help it solved my problem.

Re: focus the match case in find

Posted: Thu May 14, 2020 6:16 am
by Andrew
Hello,

Okay great!

Stay safe!