Skip to content

Force pointer-events none to button's icon #26

Description

@joniahola

Hello.

I realised that if your website css styles not have pointer-events: none rules to button's icon navigation, you get problems: sometimes you will click to icon and sometimes to navigation item. This project doesn't handle situations where you click icon.

Proposals for fix that minor problem:

  • Write guide to README
  • Add default styles to navigation
  • Handle this exception in handleSubNav function. target.nextElementSibling is null if you click svg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions