Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hash not working #68

Open
sweetaprospa opened this issue Sep 17, 2019 · 2 comments
Open

Remove hash not working #68

sweetaprospa opened this issue Sep 17, 2019 · 2 comments

Comments

@sweetaprospa
Copy link

sweetaprospa commented Sep 17, 2019

import { removeHash } from 'react-scrollable-anchor'

// clear URL hash
removeHash()

I tried placing this inside parent component, child component, App.js. Its not working. Where should this be placed? How to use this?

@ViableClanMember
Copy link

put it inside componentDidMount function

@anastasijakundas
Copy link

For me it doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants