[Ur] When testing the new wrapper for the Pikaday datepicker, adding another <textbox> makes the tag <body onload={...}> stop working [SOLVED]
Stefan Scott Alexander
stefanscottalexx at gmail.com
Mon Aug 10 21:34:09 EDT 2015
This was not a problem with Ur/Web at all - it was a problem with the
Pikaday datepicker JavaScript library itself.
When using Chrome > More Tools > Developer Tools > Elements, I noticed that
the Pikaday datepicker was sometimes *appearing* - although sometimes too
far to the left, partially (or totally?) off screen.
Further investigation in Developer Tools showed an unusual (negative)
`left` value for the div containing the Pikaday datepicker.
A quick Google search showed that this is a known issue with the Pikaday
datepicker, with various workarounds:
https://github.com/dbushell/Pikaday/issues/302
https://github.com/dbushell/Pikaday/issues/304
Commenting out line 906 of pikaday.js is a simple workaround which seems to
solve the problem.
###
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20150810/bb79b798/attachment.html>
More information about the Ur
mailing list