Closed Bug 1480339 Opened 7 years ago Closed 7 years ago

Deleting class with ::after or ::before will invoke close `option`

Categories

(Core :: Layout: Form Controls, defect)

59 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1448813
Tracking Status
firefox61 --- affected
firefox62 --- affected
firefox63 --- affected

People

(Reporter: danilyukpasha, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 Steps to reproduce: Firefox version - 59.0.2 (64-bit). Below, you can see an example. On input focus, I remove a class with a pseudo element `::after` on the parent container, then on blur, I will add a class. I wrapped function `add` to `setTimeout` for clarity. Steps: 1. Click to `input`. 2. Click to the `select`. http://jsfiddle.net/paveld/d60ot2z8/4/ Actual results: Options are showing, after one second, it closes (when a class will be added). Expected results: Options are showing and not close after adding a class.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0 (20180807100107) I've tested this report on Windows 10 x64 and OS X 10.13.5 using latest Nightly and Firefox release build. I was able to reproduce the mentioned behavior using the above steps. When loading the provided page and set focus to the input field, then click at the select, the drop down is closed after one second. I think the proper component would be Layout: Form Controls. Please change if this is not the right component.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.