Questions with Metronic 8 Angular Demo1

Hello
- The Demo1 seems to conflict with Angular "scrollPositionRestoration" option. How can I stop default "scroll to top" behaviour on select pages?
- I downloaded for 8.1.1, however in the pack it is 8.1.0.
Thanks
Cem

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)

Hi,

- I downloaded for 8.1.1, however, in the pack, it is 8.1.0.
Thank you for your message. Your version is correct, we just forgot to update labels, but it's 8.1.1.

- The Demo1 seems to conflict with Angular "scrollPositionRestoration" option. How can I stop default "scroll to top" behaviour on select pages?.

We don't have such a case implemented. Anyway, I think you have to create the service, which hides this button on some pages and returns when routing goes to another page.

Regards,
Keenthemes support

Hello

I don't think it is the "scroll to top" button is the problem here. On "back-return" the page correctly scrolls back to previous location. Then, unexpectedly, it scrolls up smoothly to top. Is this because of the existence of the "scroll to top" button?

Thanks.
Cem

Hi,

It's not a problem, it's expected behavior in case if you have the Scroll top button in your Layout: demo1/src/app/_metronic/partials/layout/extras/scroll-top/scroll-top.component.ts (row: 34).

Regards,
Keenthemes support

Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(