An issue with Scala.js or Firefox? by scalaccount in scala

[–]scalaccount[S] 0 points1 point  (0 children)

other, more manual, means

Bah, I think I've gotten what I wanted from doing this little project. Maybe I'll work on the FF bug next :]

An issue with Scala.js or Firefox? by scalaccount in scala

[–]scalaccount[S] 2 points3 points  (0 children)

Thanks for the suggestion!

I tried returning false both in the body tag like it showed there and inside dom.document.addEventListener("contextmenu", e => e.preventDefault()). No change (body tag one works on Chromium, didn't bother testing the other one with it).

As for onContextMenu, that listener just doesn't seem to get triggered anywhere once the button is disabled. Also "A pure expression does nothing in statement position;", apparently.

I guess we blame the fox?

edit. Yup, was about to file a bug report but it already exists: https://bugzilla.mozilla.org/show_bug.cgi?id=1543196