Skip to content

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

@clethrill

Description

@clethrill

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions