focus the match case in find

Stimulsoft Reports.JS discussion
Post Reply
morteza
Posts: 17
Joined: Sat Apr 04, 2020 12:27 pm

focus the match case in find

Post by morteza » Mon May 04, 2020 11:52 am

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.
HighAley
Posts: 8368
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: focus the match case in find

Post by HighAley » Tue May 05, 2020 3:15 pm

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.
morteza
Posts: 17
Joined: Sat Apr 04, 2020 12:27 pm

Re: focus the match case in find

Post by morteza » Wed May 06, 2020 4:22 am

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.
HighAley
Posts: 8368
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: focus the match case in find

Post by HighAley » Wed May 06, 2020 5:50 pm

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.
morteza
Posts: 17
Joined: Sat Apr 04, 2020 12:27 pm

Re: focus the match case in find

Post by morteza » Sat May 09, 2020 12:21 pm

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
HighAley
Posts: 8368
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: focus the match case in find

Post by HighAley » Tue May 12, 2020 9:33 am

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.
morteza
Posts: 17
Joined: Sat Apr 04, 2020 12:27 pm

Re: focus the match case in find

Post by morteza » Thu May 14, 2020 5:52 am

Hello,

Thanks for your help it solved my problem.
Andrew
Posts: 4035
Joined: Fri Jun 09, 2006 3:58 am

Re: focus the match case in find

Post by Andrew » Thu May 14, 2020 6:16 am

Hello,

Okay great!

Stay safe!
Post Reply