> ## Content Index
> Fetch the complete content index at: https://blog.lsonline.fr/llms.txt
> Use this file to discover other available public pages before exploring further.

# Scroll to Top SPFx extension v1.1.0
- URL: https://blog.lsonline.fr/2020/12/05/scroll-to-top-spfx-extension-v1-1-0/
- Published: 2020-12-05T03:33:50.000Z
- Updated: 2026-01-27T18:54:59.000Z
- Description: A new version of the SPFx Scroll to Top extension was released to scroll to the top of the pages including lists/libraries and modern pages of SharePoint
- Author: Laurent Sittler
- Tags: SharePoint Framework, SharePoint, Development

A new version of the SharePoint Framework Scroll to Top extension was released to scroll to the top of the content pages including lists/libraries and any modern page of SharePoint

## New version of Scroll to Top - v1.1.0

This release includes a feature to specify a custom image rather than using Fluent UI icons as well as some other improvements.

### Image URL as Icon

![](https://blog.lsonline.fr/content/images/2020/11/Screen-Shot-2020-10-31-at-20.58.28.png)

Scroll To Top button with a custom image

If the panoply of UI Fluent Icons is not sufficient for you, you can now specify the URL of your own image/icon into the property of the extension. To use it, simply add the property `buttonImage` and specify the image URL accessible for all of your users.

> \[note\]**Note**  
>  
> If you use both `buttonImage` and `buttonIcon`, `buttonImage` has priority

### Code Coverage

I will try to include more tests for each new version in order to reach 100%.

In addition, the code coverage helped me find solutions for some potential issues and improvements.

### Other

- Code refactoring and optimization
- Add some CI verification during an MR

  
[ ![](https://blog.lsonline.fr/content/images/2021/01/gitlab-white-64.png) Scroll to Top Extension repository ](https://gitlab.lsonline.fr/SharePoint/sp-dev-fx-webparts/scrollToTop?ref=blog.lsonline.fr)
  
  
Hoping this post will help you ?