-
Notifications
You must be signed in to change notification settings - Fork 5
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
use react router version 4 final #277
Conversation
</LocationBroadcast> | ||
) | ||
</MemoryRouter> | ||
) | ||
const node = wrapper.find('.BottomNavigation-content').at(0).node | ||
node.scrollTop = 40 | ||
wrapper.find('.BottomNavigation-menu-item').at(0).simulate('click', {}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replacing the simulated click with:
wrapper.instance().history.push('/two')
seems to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is stupid and does not test what is intended to be....
fixed bottom navigation scroll top in branch (based on this branch): https://github.com/HBM/md-components/tree/fix-bottomnavigation-scroll-top merge/rebase/whatever into this PR? or do it separetly? |
still seeing this on console
|
yes, they are on it |
and
|
No description provided.