bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

Strange positioning behaviors in Chrome and Firefox with debugging panel #77

Open agamemnus opened 9 years ago

agamemnus commented 9 years ago

1) In Chrome Canary, if I have the Javascript console open (attached to the window) and the browser covers the entire screen (maximized), the calendar will jump from left (incorrectly placed) to right slightly within about .2s.

2) In Chrome Canary, If I click the button to un-maximize (with the console open, still), the calendar will jump to the top-left.

3) In Firefox, the calendar will jump to the top-left if I vertically resize an attached Tools console.

I suspect that at least behaviors (2) and (3) have something to do with incomplete browser window size calculations returning undefined.

bevacqua commented 9 years ago

Can you create a pull request for this?

agamemnus commented 9 years ago

It is a difficult issue to pin down. It also has to do with scrollbars. With scrollbars, there is no error. Without, there is a problem.

I'll make a fiddle soon-ish* to try to replicate the problem.

*: 1 day or 1 decade...

bevacqua commented 9 years ago

Thank you, keep me posted