Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-scroll-up

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scroll-up - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# [1.0.2]
### Bug
* **Visibility:** set visibility hidden after hide button
* **Dependency:** Update dependency information
### Other
* **Default value:** change default value of easing
# [1.0.1]

@@ -2,0 +14,0 @@

5

index.js

@@ -37,3 +37,3 @@ /**

duration: 250,
easing: 'easeInCubic',
easing: 'easeOutCubic',
style: {

@@ -115,3 +115,4 @@ position: 'fixed',

style.opacity = this.state.show ? 1 : 0;
style.transitionProperty = 'opacity';
style.visibility = this.state.show ? 'visible' : 'hidden';
style.transitionProperty = 'opacity, visibility';

@@ -118,0 +119,0 @@ return (

7

package.json
{
"name": "react-scroll-up",
"version": "1.0.1",
"version": "1.0.2",
"description": "React component to render element for scroll to top of page",

@@ -30,9 +30,8 @@ "author": "Milos Janda <milos.janda@gmail.com>",

"dependencies": {
"tween-functions": "~1.0.2"
},
"devDependencies": {
"tween-functions": "~1.0.2",
"react-tools": "~0.13.3"
},
"devDependencies": {},
"readmeFilename": "README.md",
"license": "MIT"
}

@@ -5,3 +5,3 @@ # react-scroll-up

Library uses [requestAnimationFrame](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame),
if you want better browser compatibility, you can use something like [https://gist.github.com/paulirish/1579671].
if you want better browser compatibility (IE9 and older), you can use something like [https://gist.github.com/paulirish/1579671].

@@ -17,2 +17,4 @@

[Live demo](http://milosjanda.github.io/react-scroll-up/)
You have to define children element, for example `<span>UP</span>`

@@ -40,3 +42,3 @@

default: easeInCubic
default: easeOutCubic

@@ -43,0 +45,0 @@ Type of scrolling easing. You can specify some of this type of easing: https://github.com/chenglou/tween-functions

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc