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

app-bar

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-bar - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

8

CHANGELOG.md

@@ -7,2 +7,8 @@ # Changelog

## [1.6.0] - 2018-07-16
### Changed
- Do not write to dom styles directly
### Removed
- Remove redundant inline css `transition: top 100ms;`
## [1.5.0] - 2018-07-16

@@ -14,2 +20,4 @@ ### changed

- Set component to `unfixed` when it has reached the top of the scrollable area
### Removed
- Remove redundant inline css `display: block; width: 100%;`

@@ -16,0 +24,0 @@ ## [1.4.6] - 2018-07-02

3

index.js

@@ -79,3 +79,2 @@ "use strict";

_this.setState({ scroll: scroll, top: top });
ref.style.top = top.toString();
};

@@ -143,3 +142,3 @@ _this.handleScroll = function () { return window.requestAnimationFrame(_this.animateTop); };

position: 'sticky',
transition: 'top 100ms'
top: this.state.top + 'px'
};

@@ -146,0 +145,0 @@ return (React.createElement("nav", __assign({ ref: this.internalRef, style: style }, props), children));

{
"name": "app-bar",
"version": "1.5.0",
"version": "1.6.0",
"description": "An app bar for React that stays out of your way",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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