cferdinandi / cferdinandi/kelp

Subnav web component doesn't work in Safari

Open
#282 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
645
Forks
19
PR merge metrics
No merged PRs in 30d

Description

**This is the behavior I’m seeing**

When clicking links in a subnav menu within the `` component in Safari (26.4), the subnav closes but the link doesn't load.

Try demo here: https://kelpui-subnav.pages.dev

**This is the behavior I expected to see**

Links should work as expected. They do in Firefox and Chrome, this appears to be a Safari-specific issue.

**Here’s what I’ve tried so far…**

I've tried other browsers.

**Here’s a reduced test case that shows the problem**

https://kelpui-subnav.pages.dev

Contributor guide

Open the contributing guide

Research direction

Start with the reduced demo at https://kelpui-subnav.pages.dev and reproduce the failure in Safari 26.4 by clicking a link inside the component. Trace the component's link and close behavior, then verify that links load correctly in Safari while continuing to work in Firefox and Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.