-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
When trying to use date_input inside of an already repositioned div, the calendar would not place itself in the correct position relative to the input field.
I don't know if this is the correct place to post this, but I fixed the problem by changing:
setPosition: function() {
var offset = this.input.offset();
to:
setPosition: function() {
var offset = this.input.position();
This fixed the problem with repositioned DIVs and does not seem to break it if the call is from a non-repositioned DIV.
Metadata
Metadata
Assignees
Labels
No labels