HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
439 stars 77 forks source link

Unpredictable order of elements, when using #+ #119

Open sindikat opened 8 years ago

sindikat commented 8 years ago

Strange bug. Try running https://github.com/HeinrichApfelmus/threepenny-gui/blob/master/samples/CurrencyConverter.hs

You'll see that "Euro:" and "Dollar:" are usually after the input, not before. But even more, if you press F5 a few times, sometimes "Amounts update while typing" will render after the inputs.

I'm using threepenny-gui-0.6.0.3, and I installed via stack.

HeinrichApfelmus commented 8 years ago

That's really weird, I can't reproduce this. Can you post a screenshot? What is your browser? (I'm using Chrome).

sindikat commented 8 years ago

I use Firefox 40.0

duplode commented 8 years ago

I can't reproduce this on Firefox 39.0 (as opposed to 40.0).

HeinrichApfelmus commented 8 years ago

Aha, I can reproduce this on Firefox 40.0.3 after opening the Firebug console. In other words, loading the page in a new window gives the right result for me, but reloading the page while the "Inspect Element" dialog is open will result in the order of elements being inverted.