<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>290463</bug_id>
          
          <creation_ts>2025-03-26 11:42:23 -0700</creation_ts>
          <short_desc>Unable to click &quot;detailed dates&quot; link on chromestatus.com</short_desc>
          <delta_ts>2025-04-01 14:17:24 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>22261</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Abrar Rahman Protyasha">a_protyasha</assigned_to>
          <cc>crypto.cupcakes42</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2106190</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-03-26 11:42:23 -0700</bug_when>
    <thetext>Steps:

1. Load https://chromestatus.com/roadmap
2. Click on one of the (i) icons by the stable release date
3. Click on the &quot;detailed dates&quot; link

Expected:

The link opens

Actual:

The popup closes

---

In Firefox 138.0a1 (2025-03-25) (aarch64) and Google Chrome Version 136.0.7091.0 (Official Build) canary (arm64) the link both opens _and_ the popup closes.

Presumably we have some difference in ordering with how the click on an &lt;a&gt; element works versus the focusout event?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106191</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-03-26 11:42:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/147947948&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106690</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-03-27 20:04:02 -0700</bug_when>
    <thetext>```
&lt;sl-popup anchor=&quot;info-button&quot; placement=&quot;bottom&quot; strategy=&quot;fixed&quot; active=&quot;&quot; data-current-placement=&quot;bottom&quot;&gt;
        &lt;div class=&quot;popup-content&quot;&gt;
          New versions are offered to users gradually. &lt;br&gt;
          See
          &lt;a id=&quot;detailed-info-link&quot; href=&quot;https://chromiumdash.appspot.com/schedule&quot; target=&quot;_blank&quot;&gt;detailed dates&lt;/a&gt;.
        &lt;/div&gt;
      &lt;/sl-popup&gt;
```

* the icon button (i) has a focusout and click event defined on it. 
* the a element has only a focusout event defined. 


```
    hidePopup(e)
    {
        e.relatedTarget != this.renderRoot.querySelector(&quot;#detailed-info-link&quot;) &amp;&amp; (this.infoPopupRef.value.active = !1)
    }
    renderInfoIcon()
    {
        return x`
      &lt;sl-icon-button
        name=&quot;info-circle&quot;
        id=&quot;info-button&quot;
        @click=${ () =&gt; this.infoPopupRef.value.active = !this.infoPopupRef.value.active }
        @focusout=${this.hidePopup}
      &gt;&lt;/sl-icon-button&gt;

      &lt;sl-popup
        anchor=&quot;info-button&quot;
        placement=&quot;bottom&quot;
        strategy=&quot;fixed&quot;
        ${n$2(this.infoPopupRef)}
      &gt;
        &lt;div class=&quot;popup-content&quot;&gt;
          New versions are offered to users gradually. &lt;br /&gt;
          See
          &lt;a
            @focusout=${this.hidePopup}
            id=&quot;detailed-info-link&quot;
            href=&quot;https://chromiumdash.appspot.com/schedule&quot;
            target=&quot;_blank&quot;
            &gt;detailed dates&lt;/a
          &gt;.
        &lt;/div&gt;
      &lt;/sl-popup&gt;
    `
    }
```

    hidePopup(e) is receiving a FocusEvent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106691</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-03-27 20:06:23 -0700</bug_when>
    <thetext>could it be yet another variation of Bug 267449 aka Bug 22261</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2106757</commentid>
    <comment_count>4</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2025-03-28 02:14:13 -0700</bug_when>
    <thetext>So if I disable the `focusout` event listeners on the info button and on the &quot;detailed dates&quot; anchor inside the popup, I can navigate successfully on a click, though I don&apos;t dismiss the popup anymore.

It does smell like a dupe of https://bugs.webkit.org/show_bug.cgi?id=22261 to me. I suppose this is still a platform-specific behavior we want to go with?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107910</commentid>
    <comment_count>5</comment_count>
    <who name="">crypto.cupcakes42</who>
    <bug_when>2025-04-01 14:17:24 -0700</bug_when>
    <thetext>(In reply to Abrar Rahman Protyasha from comment #4)
&gt; So if I disable the `focusout` event listeners on the info button and on the
&gt; &quot;detailed dates&quot; anchor inside the popup, I can navigate successfully on a
&gt; click, though I don&apos;t dismiss the popup anymore.
&gt; 
&gt; It does smell like a dupe of https://bugs.webkit.org/show_bug.cgi?id=22261
&gt; to me. I suppose this is still a platform-specific behavior we want to go
&gt; with?

I can&apos;t help but think one person at Apple had some beef with the rest of the web developer community for the past 17 years. Soon they will retire with the complete joy knowing they caused the rest of us incredible pain, frustration, and suffering all this time. And then it will be changed and we shall all rejoice. Cheers! :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>