Skip to main content
added 49 characters in body; edited tags
Source Link

I have a Lightning Component used in our community using the napili templates in our prod and sandbox environment with identical code that uses anchor tags to jump to headers within the component. Today, while testing something in our sandbox, I found that the anchor links now cause the whole page to reload before jumping to the correct header. Wondering if I had missed something, I checked out our prod environment only to find that it doesn't reload the page when jumping to the header. The only difference between the environments is Winter 17 in our sandbox.

I know that the documentation says to avoid using the hash (#) but it hasn't been an issue until this recent update.

Is there any indication of what changed in the newest release to cause this issue? Along with that, is there a workaround that works with this release to get this simple functionality back?

I have a Lightning Component in our prod and sandbox environment with identical code that uses anchor tags to jump to headers within the component. Today, while testing something in our sandbox, I found that the anchor links now cause the whole page to reload before jumping to the correct header. Wondering if I had missed something, I checked out our prod environment only to find that it doesn't reload the page when jumping to the header. The only difference between the environments is Winter 17 in our sandbox.

I know that the documentation says to avoid using the hash (#) but it hasn't been an issue until this recent update.

Is there any indication of what changed in the newest release to cause this issue? Along with that, is there a workaround that works with this release to get this simple functionality back?

I have a Lightning Component used in our community using the napili templates in our prod and sandbox environment with identical code that uses anchor tags to jump to headers within the component. Today, while testing something in our sandbox, I found that the anchor links now cause the whole page to reload before jumping to the correct header. Wondering if I had missed something, I checked out our prod environment only to find that it doesn't reload the page when jumping to the header. The only difference between the environments is Winter 17 in our sandbox.

I know that the documentation says to avoid using the hash (#) but it hasn't been an issue until this recent update.

Is there any indication of what changed in the newest release to cause this issue? Along with that, is there a workaround that works with this release to get this simple functionality back?

Tweeted twitter.com/StackSalesforce/status/778559334032736256
Source Link

Winter 17 broke anchor links

I have a Lightning Component in our prod and sandbox environment with identical code that uses anchor tags to jump to headers within the component. Today, while testing something in our sandbox, I found that the anchor links now cause the whole page to reload before jumping to the correct header. Wondering if I had missed something, I checked out our prod environment only to find that it doesn't reload the page when jumping to the header. The only difference between the environments is Winter 17 in our sandbox.

I know that the documentation says to avoid using the hash (#) but it hasn't been an issue until this recent update.

Is there any indication of what changed in the newest release to cause this issue? Along with that, is there a workaround that works with this release to get this simple functionality back?