Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

onclick event doesn't fire when targets of mousedown and mouseup events differ (but both are inside of element with onclick handler)

  • 1 antwoord
  • 1 heeft dit probleem
  • 5 weergaven
  • Laatste antwoord van Medes

more options

You can check this issue here: https://jsfiddle.net/wt98ukw7/3/ onclick event fires only on upper half of div2, because in this case target of mousedown and mouseup events is div2. But if you click on bottom half of div2, target of mousedown event is div2 and target of mouseup is div1. I think it's a bug and it should be fixed.

You can check this issue here: https://jsfiddle.net/wt98ukw7/3/ onclick event fires only on upper half of div2, because in this case target of mousedown and mouseup events is div2. But if you click on bottom half of div2, target of mousedown event is div2 and target of mouseup is div1. I think it's a bug and it should be fixed.

Alle antwoorden (1)

more options

I found corresponding bug in bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=1004895

Can I vote for importance of this issue?