Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(