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

getAttribute is not a function for nav elements with margins #85

Open
clethrill opened this issue Sep 11, 2019 · 0 comments
Open

getAttribute is not a function for nav elements with margins #85

clethrill opened this issue Sep 11, 2019 · 0 comments

Comments

@clethrill
Copy link
Contributor

I am getting the error TypeError: current.getAttribute is not a function. I have tracked it down to the onMouseOver function in SideNav.js. It seems if a nav element has any margin and you hover your mouse over the area with a margin e.target in the onMouseOver function is set as the aside element goes throw the while loop all the way up to the html document level and then fails.

Screen Shot 2019-09-11 at 1 07 27 pm

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

1 participant