[Webkit-unassigned] [Bug 279250] Yellow pegman icon is not draggable on Google maps on iPad

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 8 22:52:04 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279250

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
The current code for the button.

```
<div class="app-horizontal-item"
     id="runway-expand-button">
    <div class="">
        <div class="WzvKIe ">
            <button class="sHj5c a8QCmb"
                    id="q2sIQ"
                    jsaction="runway.pegman; mousedown:runway.pegman; mouseup:runway.pegman; mouseover:runway.pegman; mouseout:runway.pegman; touchstart:runway.pegman; touchend:runway.pegman; keydown:runway.pegman; contextmenu:runway.pegman"
                    aria-label="Afficher la disponibilité de Street View">
                <div class="q2sIQ"
                     style="background-image: url("//maps.gstatic.com/tactile/pegman_v3/default/runway-1x.png");"
                     tabindex="-1"></div>
            </button>
            <button class="GFgdCf"
                    jsaction="runway.expand; mouseover:runway.expand; mouseout:runway.expand; ptrdown:ripple.nested; mousedown:ripple.nested; keydown:ripple.nested; ptrup:null; mouseup:null; keydown:play.onKeyDown"
                    vet="6530"
                    aria-label="Afficher les images">
                <div class="L6Bbsd"><label class="Bm7zId"></label>
                    <div class="t8fEu"></div>
                </div>
            </button></div>
    </div>
</div>
```

When dragging the pegman, 

```
   <div class="WzvKIe ">
```

becomes 

```
   <div class="WzvKIe QAvlhe">
```

and this seems to be the relevant controls.

```
                this.nb.Ra("runway", "pegman", "click", this.N, this.N.Bc);
                this.nb.Ra("runway", "pegman", "dragstart", this.N, this.N.oe);
                this.nb.Ra("runway", "pegman", "drag", this.N, this.N.Qc);
                this.nb.Ra("runway", "pegman", "dragend", this.N, this.N.Wc);
                this.nb.Ra("runway", "pegman", "keydown", this.N, W => {
                    _.jle(n, W)
                }, 27);
                this.nb.Ra("runway",
                "pegman", "scrollwheel", this.N, this.N.Tb);
                this.nb.Ra("runway", "pegman", "ptrin", this.view, this.view.Qc);
                this.nb.Ra("runway", "pegman", "ptrout", this.view, this.view.Wc);
                this.nb.Ra("runway", "pegman", "contextmenu", this.view, this.view.Bc);
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240909/90c5b3da/attachment.htm>


More information about the webkit-unassigned mailing list