Closed
Bug 1789674
Opened 2 years ago
Closed 2 years ago
Multiple `onclick` events fired when Firefox is in Responsive Design Mode
Categories
(DevTools :: Responsive Design Mode, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1680414
People
(Reporter: ben, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
Using the below sample or Codesandbox (https://codesandbox.io/s/patient-sunset-i763pw?file=/public/index.html), place Firefox in Responsive Design Mode and enable Touch Simulation. Click the button in rapid succession.
<!DOCTYPE html>
<html lang="en">
<body>
<script>
var i = 0;
</script>
<button onclick="console.log(i++)">Click Mee</button>
</body>
</html>
Actual results:
Clicking the button in rapid succession will cause duplicate onclick events to be fired.
Expected results:
One onclick event per click.
Updated•2 years ago
|
Component: Untriaged → Responsive Design Mode
Product: Firefox → DevTools
Comment 1•2 years ago
|
||
This is a duplicate of Bug 1680414, but let's keep it for triage to reassess the severity
Updated•2 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•