File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11#### Changelog
2+ > 1.8.6
3+ - Fixed hashSpy to work within Nextjs [ Issue] ( https://github.com/fisshy/react-scroll/issues/476 )
24> 1.8.3
35- Fix for scroll offset [ PR] ( https://github.com/fisshy/react-scroll/pull/469 )
46> 1.8.1
Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ class Section extends React.Component{
5050 < div className = "container-fluid" >
5151 < div className = "collapse navbar-collapse" id = "bs-example-navbar-collapse-1" >
5252 < ul className = "nav navbar-nav" >
53- < li > < Link containerId = "scroll-container" activeClass = "active" className = "test1" to = "test1" spy = { true } hashSpy = { true } duration = { 500 } saveHashHistory = { false } > Test 1</ Link > </ li >
54- < li > < Link containerId = "scroll-container" activeClass = "active" className = "test2" to = "test2" spy = { true } hashSpy = { true } duration = { 500 } > Test 2</ Link > </ li >
53+ < li > < Link containerId = "scroll-container" activeClass = "active" className = "test1" to = "test1" spy = { true } hashSpy = { true } duration = { 500 } saveHashHistory = { false } smooth = { true } > Test 1</ Link > </ li >
54+ < li > < Link containerId = "scroll-container" activeClass = "active" className = "test2" to = "test2" spy = { true } hashSpy = { true } duration = { 500 } smooth = { true } > Test 2</ Link > </ li >
5555 < li > < Link containerId = "scroll-container" activeClass = "active" className = "test3" to = "test3" spy = { true } hashSpy = { true } duration = { 500 } smooth = { true } > Test 3</ Link > </ li >
5656 < li > < Link containerId = "scroll-container" activeClass = "active" className = "test4" to = "test4" spy = { true } hashSpy = { true } spy = { true } duration = { 500 } smooth = { true } > Test 4</ Link > </ li >
57- < li > < Link containerId = "scroll-container" activeClass = "active" className = "test5" to = "test5" spy = { true } duration = { 500 } delay = { 1000 } > Test 5 ( delay )</ Link > </ li >
58- < li > < Link containerId = "scroll-container" activeClass = "active" className = "test6" to = "anchor" spy = { true } duration = { 500 } > Test 6 (anchor)</ Link > </ li >
57+ < li > < Link containerId = "scroll-container" activeClass = "active" className = "test5" to = "test5" spy = { true } duration = { 500 } smooth = { true } delay = { 1000 } > Test 5 ( delay )</ Link > </ li >
58+ < li > < Link containerId = "scroll-container" activeClass = "active" className = "test6" to = "anchor" spy = { true } duration = { 500 } smooth = { true } > Test 6 (anchor)</ Link > </ li >
5959 < li > < Link containerId = "scroll-container" activeClass = "active" className = "test7" to = "test7" spy = { true } duration = { durationFn } > Test 7 (duration and container)</ Link > </ li >
6060 < li > < a onClick = { ( event ) => scroll . scrollTo ( 100 , { containerId :"scroll-container" } ) } > Scroll To 100!</ a > </ li >
6161 < li > < a onClick = { ( event ) => scroll . scrollToBottom ( { containerId :"scroll-container" } ) } > Scroll To Bottom</ a > </ li >
Original file line number Diff line number Diff line change 11{
22 "name" : " react-scroll" ,
3- "version" : " 1.8.5 " ,
3+ "version" : " 1.8.6 " ,
44 "description" : " A scroll component for React.js" ,
55 "main" : " modules" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments