Bug 179592
| Summary: | :active selector styles remains after click on trackpads | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | solerguillermo |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | cdumez, koivisto, richardyrh928, simon.fraser, solerguillermo |
| Priority: | P2 | ||
| Version: | Safari 11 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.13 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=181680 | ||
solerguillermo
In the next cases, clicking on the box add a style of transform: translate(Xpx, Xpx) with an :active selector. Releasing the mouse should remove that style, but the box remains with it until you move the cursor, therefore the clicked effect that showed in previous versions of Safari, or that still being showed in Chrome, Firefox or Opera, is gone. Here are some examples:
1) https://codepen.io/guisopo/pen/vedNZW (enter in debug mode to see the bug)
2) https://www.yeinyi.com
3) http://cathrine.co
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
> 1) https://codepen.io/guisopo/pen/vedNZW (enter in debug mode to see the
> bug)
Can you explain how to enter in debug mode?
What mouse/trackpad are you using when you see this? Does using a different type of input device fix it?
solerguillermo
(In reply to Simon Fraser (smfr) from comment #1)
> > 1) https://codepen.io/guisopo/pen/vedNZW (enter in debug mode to see the
> > bug)
>
> Can you explain how to enter in debug mode?
>
> What mouse/trackpad are you using when you see this? Does using a different
> type of input device fix it?
Hi Simon,
To enter in debug mode you need to fork the pen, clicking first the "fork"button and then select the "Debug Mode" in the "Changer View" menu.
Using different types of input didn't fixed it. I've tried the trackpad of the MacBook Pro, a MagicMouse and a regular usb mouse.
solerguillermo
Sorry, with the Magic Mouse and a regular mouse works fine, there is no issue.
Richard Yan
This is an issue I've been suffering for the past few months; I would really hope that there can be attention paid upon this. From what I know, only force touch enabled trackpads are effected (i think).
Simon Fraser (smfr)
This is a bug in a system component below WebKit.
Antti Koivisto
Same as https://bugs.webkit.org/show_bug.cgi?id=181680 ?
Simon Fraser (smfr)
(In reply to Antti Koivisto from comment #6)
> Same as https://bugs.webkit.org/show_bug.cgi?id=181680 ?
Yes
Simon Fraser (smfr)
rdar://problem/33340162
Simon Fraser (smfr)
Fixed via bug 181680.
*** This bug has been marked as a duplicate of bug 181680 ***