# Dynamic Item Page Issue

**URL:** <https://community.weweb.io/t/dynamic-item-page-issue/1555>\
**Category:** Ask us anything\
**Created:** [December 6, 2022, 9:57pm UTC](https://community.weweb.io/t/dynamic-item-page-issue/1555 "2022-12-06T21:57:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![foliodc](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/foliodc/32/761_2.png) [@foliodc](https://community.weweb.io/u/foliodc)\
**Post date:** [December 6, 2022, 9:57pm UTC](https://community.weweb.io/t/dynamic-item-page-issue/1555/1 "2022-12-06T21:57:51Z")

</div>

I have a product listing page (dynamic with query) that shows suggested products at the bottom. When I click those links, I want to load the product page again with the new data.

I’m trying to use a workflow, but the Change Page action does not reload the page. I also tried to fetch the new data and move to the top of the page, but scrollIntoView does not seem to work on iOS!

Here is the site using scrollIntoView, works on everything except iOS currently:

> **[Giftshop DC Product](https://www.giftdc.co/product/?query_product=28)**
>
> Giftshop DC showcases the best gifts from local makers. Sales are zero-commission, so creators get to keep more.

Is there a recommended solution? Is the dynamic page URL fix almost ready? @Joyce @Mael

Maybe some way to use custom javascript to reload? I tried, but it reloads the entire editor which is a mess.

---

<div class="post-metadata">

**Author:** ![kevinwasie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevinwasie/32/402_2.png) [@kevinwasie](https://community.weweb.io/u/kevinwasie)\
**Post date:** [December 6, 2022, 11:07pm UTC](https://community.weweb.io/t/dynamic-item-page-issue/1555/2 "2022-12-06T23:07:01Z")

</div>

Is the only problem that you can’t scroll correctly on iOS? Ie. if you solved for that problem, does everything else work?

That can be accomplished with some JS.

---

<div class="post-metadata">

**Author:** ![foliodc](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/foliodc/32/761_2.png) [@foliodc](https://community.weweb.io/u/foliodc)\
**Post date:** [December 7, 2022, 12:43am UTC](https://community.weweb.io/t/dynamic-item-page-issue/1555/3 "2022-12-07T00:43:18Z")

</div>

Yes, everything else works ok for now. Just need to move to top of the page on iOS as part of a workflow. How would you suggest I set that up?

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [December 7, 2022, 7:16am UTC](https://community.weweb.io/t/dynamic-item-page-issue/1555/4 "2022-12-07T07:16:40Z")

</div>

how are you using scrollIntoView?

`scrollIntoView(true)` and `scrollIntoView(false)` work in safari [scrollIntoView | Can I use... Support tables for HTML5, CSS3, etc](https://caniuse.com/scrollintoview). You can add smooth scrolling with some css: `html{ scroll-behavior: smooth;}`

Another option is to load a polyfill.

---

<div class="post-metadata">

**Author:** ![foliodc](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/foliodc/32/761_2.png) [@foliodc](https://community.weweb.io/u/foliodc)\
**Post date:** [December 7, 2022, 8:31pm UTC](https://community.weweb.io/t/dynamic-item-page-issue/1555/5 "2022-12-07T20:31:50Z")

</div>

I think I had document.getElementById(“nav”).scrollIntoView(true);

That didn’t seem to work in my workflow on iOS. This morning I tried window.scrollTo(0, 0); and that works

Now just trying to solve images cropped incorrectly in Safari (iOS and Mac):

> [@Images wrong on Safari only](https://community.weweb.io/t/images-wrong-on-safari-only/1454/3):
>
> The issue went away on iOS but it is now back. Maybe it resolves over time after publish, or maybe it is a browser refreshing issue. Some forums online say that aspect ratio is not respected by Safari, is there an alternative? Mac Safari 14.1.2 images are shown without 1:1 crop iOS 16 Safari - Some images are not loaded. Loaded ok on a friend’s phone, may only break after republishing. The problems are different on iOS 14. Images are shown without crop like saf…
