New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-bottom-scroll-listener

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bottom-scroll-listener - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

dist/test.d.ts

2

package.json
{
"name": "react-bottom-scroll-listener",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple React component that lets you listen for when you have scrolled to the bottom.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/karl-run/react-bottom-scroll-listener",

@@ -27,3 +27,3 @@ # react-bottom-scroll-listener [![NPM version](https://img.shields.io/npm/v/react-bottom-scroll-listener.svg?style=flat)](https://www.npmjs.com/package/react-bottom-scroll-listener) [![npm bundle size (minified)](https://img.shields.io/bundlephobia/minzip/react-bottom-scroll-listener.svg)](https://github.com/karl-run/react-bottom-scroll-listener)

Pass the BottomScrollListener a function inside the JSX_tag, receive the `ref` in this function from the BottomScrollListener
Pass the BottomScrollListener a function inside the JSX_tag, receive the `scrollRef` in this function from the BottomScrollListener
and pass it to the component you want to listen for a scroll event on.

@@ -33,4 +33,4 @@

<BottomScrollListener onBottom={callback}>
{ref => (
<div ref={ref}>
{scrollRef => (
<div ref={scrollRef}>
Callback will be invoked when this container is scrolled to bottom.

@@ -37,0 +37,0 @@ </div>

Sorry, the diff of this file is not supported yet

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