Closed
Bug 1875551
Opened 2 years ago
Closed 2 years ago
Tab card preview listeners should only be active while preview is shown
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: mstriemer, Unassigned)
References
(Blocks 1 open bug)
Details
The TabSelect listener is added in connectedCallback() of the card preview, which fires when the card preview is set up initially. This means it is performing work every time the user changes tabs, regardless of whether the preview is shown or not. In bug 1875143, there is a new listener added in the same place, this time for wheel which would fire much more often. The wheel event should likely be added/removed when the panel is shown/hidden, and may as well do TabSelect while we're at it then.
Comment 1•2 years ago
|
||
This was fixed in the patch for bug 1875143.
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Version: unspecified → Firefox 124
You need to log in
before you can comment on or make changes to this bug.
Description
•