react-scrollspy
react-scrollspy copied to clipboard
:six_pointed_star: react scrollspy component
Allow id attribute to be passed as a prop. Solution to issue #86
This passes all other props, other than those used by ScrollSpy, to the underlying `componentTag`. This fixes #86 and is a more generic solution than #164, working for _all_ props,...
Hi! Say you have large section chunks which are larger than the viewport. If you are scrolling down the page, you'll end up in a situation where no `` is...
` { alert(el.items[id]) } }>` getting error
The `className` props have been forgotten in the typescript definition but you handle it in the code. I guess it was because it is not present in the README. @see...
Hi, I have a fixed navbar at the top of my page. My content is on the left and my scrollspy is on the right. When I click on an...
index.js:1 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details. * Move data fetching code or side effects to...
I tried to do: ` {this.props.children} ` and the children is: ` {this.props.children} ` But the className is-active doesn't appear in the html generated.
in the "onUpdate" attribute of the Scrollspy component wouldn't it be better for the callback function to have its "item" parameter typed as HTMLElement? It is currently typed as a...
I have one issue and one question : **Issue:** The titles in my nav bar are not being highlighted once I scroll to a specific "Section" **Question:** When I tap...