Releases: thebuilder/react-intersection-observer
Releases · thebuilder/react-intersection-observer
v8.33.1
15 Dec 22:52
Compare
Sorry, something went wrong.
No results found
v8.33.0
09 Dec 22:55
Compare
Sorry, something went wrong.
No results found
8.33.0 (2021-12-09)
Features
This is solution for #495 that adds support for a fallbackInView value.
You can set the fallback globally:
import { defaultFallbackInView } from 'react-intersection-observer' ;
defaultFallbackInView ( true ) ; // or 'false'
You can also define the fallback locally on useInView or <InView> as an
option. This will override the global fallback value.
import React from 'react' ;
import { useInView } from 'react-intersection-observer' ;
const Component = ( ) => {
const { ref, inView, entry } = useInView ( {
fallbackInView : true ,
} ) ;
return (
< div ref = { ref } >
< h2 > { `Header inside viewport ${ inView } .` } </ h2 >
</ div >
) ;
} ;
v8.32.5
25 Nov 12:28
Compare
Sorry, something went wrong.
No results found
v8.32.4
23 Nov 12:53
Compare
Sorry, something went wrong.
No results found
v8.32.3
19 Nov 22:36
Compare
Sorry, something went wrong.
No results found
v8.32.2
25 Oct 12:01
Compare
Sorry, something went wrong.
No results found
8.32.2 (2021-10-25)
Bug Fixes
make ratio return largest threshold smaller than trigger (#510 ) (f76fa78 )
v8.32.1
27 Aug 13:55
Compare
Sorry, something went wrong.
No results found
v8.32.0
14 May 21:03
Compare
Sorry, something went wrong.
No results found
v8.31.1
19 Apr 12:53
Compare
Sorry, something went wrong.
No results found
v8.31.0
24 Nov 18:59
Compare
Sorry, something went wrong.
No results found
8.31.0 (2020-11-24)
Features
add support for testing threshold values (#417 ) (721cd61 )