Skip to content

Invisible avatar is still clickable in .top-nav-short #293

@alefi87

Description

@alefi87

When scrolling so the avatar fades out and the main nav turns "short" the avatar is still clickable. You can't see it, but the hitbox is still there, so it's a bit confusing, not to mention that it might hijack clicks on some of the content under it (e.g. another link in the text).

I guess that one is tough to solve with pure CSS since display is not affected by transition rules, but since JS is used for certain functionality, perhaps the avatar animation might as well be done with something like jQuery('.avatar-container img').fadeOut(500)?

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