Bug 179592 - :active selector styles remains after click on trackpads
Summary: :active selector styles remains after click on trackpads
Status: RESOLVED DUPLICATE of bug 181680
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 11
Hardware: Mac macOS 10.13
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-12 00:39 PST by solerguillermo
Modified: 2018-04-18 15:09 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solerguillermo 2017-11-12 00:39:09 PST
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
Comment 1 Simon Fraser (smfr) 2017-11-30 16:28:27 PST
> 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?
Comment 2 solerguillermo 2017-12-04 02:19:06 PST
(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.
Comment 3 solerguillermo 2017-12-06 00:32:19 PST
Sorry, with the Magic Mouse and a regular mouse works fine, there is no issue.
Comment 4 Richard Yan 2018-04-02 05:58:06 PDT
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).
Comment 5 Simon Fraser (smfr) 2018-04-02 10:11:58 PDT
This is a bug in a system component below WebKit.
Comment 6 Antti Koivisto 2018-04-18 14:26:20 PDT
Same as https://bugs.webkit.org/show_bug.cgi?id=181680 ?
Comment 7 Simon Fraser (smfr) 2018-04-18 14:40:02 PDT
(In reply to Antti Koivisto from comment #6)
> Same as https://bugs.webkit.org/show_bug.cgi?id=181680 ?

Yes
Comment 8 Simon Fraser (smfr) 2018-04-18 14:40:48 PDT
rdar://problem/33340162
Comment 9 Simon Fraser (smfr) 2018-04-18 15:09:42 PDT
Fixed via bug 181680.

*** This bug has been marked as a duplicate of bug 181680 ***