Page 1 of 1

Hide display of component loading progress in Blazor

Posted: Fri Jan 28, 2022 7:06 pm
by mrapi
Hi
since version 2022.1.5 there is new feature: "2. We added the display of component loading progress bar for Blazor Wasm."

Is there any way to disable that new feature,since it was added I see then progress circle on top,it hides for 1-2 seconds then I see it on middle,with previous verions is was displayed only in center.
you can reproducer this behavior with Blazor sample "Showing a Viewer without Toolbar"

thanks

Re: Hide display of component loading progress in Blazor

Posted: Mon Jan 31, 2022 7:53 am
by Max Shamanov
Hello,

The progress circle is displayed in different positions because the viewer does not know the height of the report at the beginning.
You can set the height for the viewer from the code:

Code: Select all

<StiBlazorViewer Report="@report" Options="@options" Height="1000px"  />
Thank you.

Re: Hide display of component loading progress in Blazor

Posted: Mon Jan 31, 2022 12:43 pm
by mrapi
Hi
setting Height="1000px" doesn't' show the circle in first time in the same position as is shown on second time(you can see it in sample "Showing a Viewer without Toolbar").
on our app it is shown about 5cm difference on a pc screen.
for us first time shown disable is a good solution

thanks

Re: Hide display of component loading progress in Blazor

Posted: Mon Jan 31, 2022 2:05 pm
by Max Shamanov
Hello,

try to use the following code in index.html :

Code: Select all

<style>
        .sti-loader {
            display: none !important;
        }
    </style>
Thank you.

Re: Hide display of component loading progress in Blazor

Posted: Mon Jan 31, 2022 5:29 pm
by mrapi
great
thanks!

Re: Hide display of component loading progress in Blazor

Posted: Mon Jan 31, 2022 9:10 pm
by Lech Kulikowski
Hello,

You are welcome.

Re: Hide display of component loading progress in Blazor

Posted: Tue Dec 13, 2022 8:23 am
by mrapi
Hi,after update from 2022.4.5 to 2023.1.1 I'm not able to hide progress loading
thanks

Re: Hide display of component loading progress in Blazor

Posted: Tue Dec 13, 2022 11:49 am
by Max Shamanov
Hello,

Please try to use the following code in index.html :

Code: Select all

<style>
        .sti-component-loader {
            display: none !important;
        }
    </style>
Thank you.

Re: Hide display of component loading progress in Blazor

Posted: Tue Dec 13, 2022 1:37 pm
by mrapi
it works.thanks!

Re: Hide display of component loading progress in Blazor

Posted: Tue Dec 13, 2022 1:47 pm
by Max Shamanov
Hello,

You are Welcome!